pub struct MwndProjectionState {Show 68 fields
pub bg_file: Option<String>,
pub filter_file: Option<String>,
pub filter_margin: Option<(i64, i64, i64, i64)>,
pub filter_color: Option<(u8, u8, u8, u8)>,
pub filter_config_color: bool,
pub filter_config_tr: bool,
pub face_file: Option<String>,
pub face_no: i64,
pub rep_pos: Option<(i64, i64)>,
pub window_pos: Option<(i64, i64)>,
pub window_size: Option<(i64, i64)>,
pub message_pos: Option<(i64, i64)>,
pub message_margin: Option<(i64, i64, i64, i64)>,
pub window_moji_cnt: Option<(i64, i64)>,
pub moji_size: Option<i64>,
pub moji_space: Option<(i64, i64)>,
pub mwnd_extend_type: i64,
pub moji_color: Option<i64>,
pub shadow_color: Option<i64>,
pub fuchi_color: Option<i64>,
pub chara_moji_color: Option<i64>,
pub chara_shadow_color: Option<i64>,
pub chara_fuchi_color: Option<i64>,
pub name_moji_color: Option<i64>,
pub name_shadow_color: Option<i64>,
pub name_fuchi_color: Option<i64>,
pub resolved_msg_color: (u8, u8, u8),
pub resolved_msg_shadow_color: (u8, u8, u8),
pub resolved_msg_fuchi_color: Option<(u8, u8, u8)>,
pub resolved_name_color: (u8, u8, u8),
pub resolved_name_shadow_color: (u8, u8, u8),
pub resolved_name_fuchi_color: Option<(u8, u8, u8)>,
pub font_shadow_mode: i64,
pub font_bold: bool,
pub key_icon_file: Option<String>,
pub key_icon_pat_cnt: i64,
pub key_icon_speed: i64,
pub page_icon_file: Option<String>,
pub page_icon_pat_cnt: i64,
pub page_icon_speed: i64,
pub key_icon_appear: bool,
pub key_icon_mode: i64,
pub key_icon_pos: Option<(i64, i64)>,
pub icon_pos_type: i64,
pub icon_pos_base: i64,
pub icon_pos: Option<(i64, i64, i64)>,
pub slide_enabled: bool,
pub slide_time: i64,
pub vertical_writing: bool,
pub name_text: String,
pub name_extend_type: i64,
pub name_window_align: i64,
pub name_window_pos: (i64, i64),
pub name_window_size: (i64, i64),
pub name_window_rect: (i64, i64, i64, i64),
pub name_message_pos: (i64, i64),
pub name_message_pos_rep: (i64, i64),
pub name_message_margin: (i64, i64, i64, i64),
pub name_glyphs: Vec<MwndGlyphProjection>,
pub msg_text: String,
pub glyphs: Vec<MwndGlyphProjection>,
pub open: bool,
pub open_anime_type: i64,
pub open_anime_time: i64,
pub close_anime_type: i64,
pub close_anime_time: i64,
pub order: i64,
pub layer: i64,
}Fields§
§bg_file: Option<String>§filter_file: Option<String>§filter_margin: Option<(i64, i64, i64, i64)>§filter_color: Option<(u8, u8, u8, u8)>§filter_config_color: bool§filter_config_tr: bool§face_file: Option<String>§face_no: i64§rep_pos: Option<(i64, i64)>§window_pos: Option<(i64, i64)>§window_size: Option<(i64, i64)>§message_pos: Option<(i64, i64)>§message_margin: Option<(i64, i64, i64, i64)>§window_moji_cnt: Option<(i64, i64)>§moji_size: Option<i64>§moji_space: Option<(i64, i64)>§mwnd_extend_type: i64§moji_color: Option<i64>§shadow_color: Option<i64>§fuchi_color: Option<i64>§chara_moji_color: Option<i64>§chara_shadow_color: Option<i64>§chara_fuchi_color: Option<i64>§name_moji_color: Option<i64>§name_shadow_color: Option<i64>§name_fuchi_color: Option<i64>§resolved_msg_color: (u8, u8, u8)§resolved_msg_shadow_color: (u8, u8, u8)§resolved_msg_fuchi_color: Option<(u8, u8, u8)>§resolved_name_color: (u8, u8, u8)§resolved_name_shadow_color: (u8, u8, u8)§resolved_name_fuchi_color: Option<(u8, u8, u8)>§font_shadow_mode: i64§font_bold: bool§key_icon_file: Option<String>§key_icon_pat_cnt: i64§key_icon_speed: i64§page_icon_file: Option<String>§page_icon_pat_cnt: i64§page_icon_speed: i64§key_icon_appear: bool§key_icon_mode: i64§key_icon_pos: Option<(i64, i64)>§icon_pos_type: i64§icon_pos_base: i64§icon_pos: Option<(i64, i64, i64)>§slide_enabled: bool§slide_time: i64§vertical_writing: bool§name_text: String§name_extend_type: i64§name_window_align: i64§name_window_pos: (i64, i64)§name_window_size: (i64, i64)§name_window_rect: (i64, i64, i64, i64)§name_message_pos: (i64, i64)§name_message_pos_rep: (i64, i64)§name_message_margin: (i64, i64, i64, i64)§name_glyphs: Vec<MwndGlyphProjection>§msg_text: String§glyphs: Vec<MwndGlyphProjection>§open: bool§open_anime_type: i64§open_anime_time: i64§close_anime_type: i64§close_anime_time: i64§order: i64§layer: i64Trait Implementations§
Source§impl Clone for MwndProjectionState
impl Clone for MwndProjectionState
Source§fn clone(&self) -> MwndProjectionState
fn clone(&self) -> MwndProjectionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MwndProjectionState
impl Debug for MwndProjectionState
Source§impl Default for MwndProjectionState
impl Default for MwndProjectionState
Source§fn default() -> MwndProjectionState
fn default() -> MwndProjectionState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MwndProjectionState
impl RefUnwindSafe for MwndProjectionState
impl Send for MwndProjectionState
impl Sync for MwndProjectionState
impl Unpin for MwndProjectionState
impl UnsafeUnpin for MwndProjectionState
impl UnwindSafe for MwndProjectionState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.