pub struct MwndWakuRuntime {Show 13 fields
pub bg_sprite: Option<SpriteId>,
pub filter_sprite: Option<SpriteId>,
pub bg_image: Option<ImageId>,
pub filter_image: Option<ImageId>,
pub solid_filter_image: Option<ImageId>,
pub bg_file: Option<String>,
pub filter_file: Option<String>,
pub bg_size: Option<(u32, u32)>,
pub filter_size: Option<(u32, u32)>,
pub filter_margin: (i64, i64, i64, i64),
pub filter_color: (u8, u8, u8, u8),
pub filter_config_color: bool,
pub filter_config_tr: bool,
}Expand description
UI-side sprite cache for the message-window family and related overlays.
Fields§
§bg_sprite: Option<SpriteId>§filter_sprite: Option<SpriteId>§bg_image: Option<ImageId>§filter_image: Option<ImageId>§solid_filter_image: Option<ImageId>§bg_file: Option<String>§filter_file: Option<String>§bg_size: Option<(u32, u32)>§filter_size: Option<(u32, u32)>§filter_margin: (i64, i64, i64, i64)§filter_color: (u8, u8, u8, u8)§filter_config_color: bool§filter_config_tr: boolTrait Implementations§
Source§impl Debug for MwndWakuRuntime
impl Debug for MwndWakuRuntime
Source§impl Default for MwndWakuRuntime
impl Default for MwndWakuRuntime
Source§fn default() -> MwndWakuRuntime
fn default() -> MwndWakuRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MwndWakuRuntime
impl RefUnwindSafe for MwndWakuRuntime
impl Send for MwndWakuRuntime
impl Sync for MwndWakuRuntime
impl Unpin for MwndWakuRuntime
impl UnsafeUnpin for MwndWakuRuntime
impl UnwindSafe for MwndWakuRuntime
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
§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.