pub struct MsgBackUiProjection {Show 32 fields
pub window_x: i32,
pub window_y: i32,
pub window_w: u32,
pub window_h: u32,
pub disp_margin: (i64, i64, i64, i64),
pub msg_pos: i32,
pub moji_size: i64,
pub moji_space: Option<(i64, i64)>,
pub order: i32,
pub filter_layer_rep: i32,
pub waku_layer_rep: i32,
pub moji_layer_rep: i32,
pub waku_file: Option<String>,
pub filter_file: Option<String>,
pub filter_margin: (i64, i64, i64, i64),
pub filter_rgba: (u8, u8, u8, u8),
pub filter_config_rgba: (u8, u8, u8, u8),
pub text_entries: Vec<MsgBackTextProjection>,
pub separators: Vec<MsgBackImageProjection>,
pub koe_buttons: Vec<MsgBackEntryButtonProjection>,
pub load_buttons: Vec<MsgBackEntryButtonProjection>,
pub close_btn_file: Option<String>,
pub close_btn_pos: (i32, i32),
pub msg_up_btn_file: Option<String>,
pub msg_up_btn_pos: (i32, i32),
pub msg_down_btn_file: Option<String>,
pub msg_down_btn_pos: (i32, i32),
pub slider_file: Option<String>,
pub slider_rect: (i32, i32, i32, i32),
pub slider_pos: (i32, i32),
pub ex_btn_files: [Option<String>; 4],
pub ex_btn_pos: [(i32, i32); 4],
}Fields§
§window_x: i32§window_y: i32§window_w: u32§window_h: u32§disp_margin: (i64, i64, i64, i64)§msg_pos: i32§moji_size: i64§moji_space: Option<(i64, i64)>§order: i32§filter_layer_rep: i32§waku_layer_rep: i32§moji_layer_rep: i32§waku_file: Option<String>§filter_file: Option<String>§filter_margin: (i64, i64, i64, i64)§filter_rgba: (u8, u8, u8, u8)MSGBK.FILTER_COLOR, used when no filter texture is configured.
filter_config_rgba: (u8, u8, u8, u8)Runtime CONFIG.FILTER_COLOR/Gp_config->filter_color, applied to the filter sprite.
text_entries: Vec<MsgBackTextProjection>§separators: Vec<MsgBackImageProjection>§close_btn_file: Option<String>§close_btn_pos: (i32, i32)§msg_up_btn_file: Option<String>§msg_up_btn_pos: (i32, i32)§msg_down_btn_file: Option<String>§msg_down_btn_pos: (i32, i32)§slider_file: Option<String>§slider_rect: (i32, i32, i32, i32)§slider_pos: (i32, i32)§ex_btn_files: [Option<String>; 4]§ex_btn_pos: [(i32, i32); 4]Trait Implementations§
Source§impl Clone for MsgBackUiProjection
impl Clone for MsgBackUiProjection
Source§fn clone(&self) -> MsgBackUiProjection
fn clone(&self) -> MsgBackUiProjection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MsgBackUiProjection
impl RefUnwindSafe for MsgBackUiProjection
impl Send for MsgBackUiProjection
impl Sync for MsgBackUiProjection
impl Unpin for MsgBackUiProjection
impl UnsafeUnpin for MsgBackUiProjection
impl UnwindSafe for MsgBackUiProjection
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.