pub struct StatusIconDescription {
pub sheet: Option<String>,
pub size: f32,
pub screen_constant: bool,
}Expand description
StatusIconDescription: the icon sprite sheet, icon size and screen-constant flag. The height
offset is not serialized and stays 1.0.
Original: FUN_140131650, FUN_140039280.
Fields§
§sheet: Option<String>The icon sprite sheet.
size: f32The icon size.
screen_constant: boolWhether the icon keeps its size on screen.
Trait Implementations§
Source§impl Clone for StatusIconDescription
impl Clone for StatusIconDescription
Source§fn clone(&self) -> StatusIconDescription
fn clone(&self) -> StatusIconDescription
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 moreAuto Trait Implementations§
impl Freeze for StatusIconDescription
impl RefUnwindSafe for StatusIconDescription
impl Send for StatusIconDescription
impl Sync for StatusIconDescription
impl Unpin for StatusIconDescription
impl UnsafeUnpin for StatusIconDescription
impl UnwindSafe for StatusIconDescription
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