pub struct PresenceStyle {
pub opacity: u16,
pub scale_x: u16,
pub scale_y: u16,
pub translate_x: i16,
pub translate_y: i16,
pub rotate: i16,
pub skew_x: i16,
pub skew_y: i16,
pub origin_x: u8,
pub origin_y: u8,
}Expand description
Closed presentation; opacity/scale use thousandths, translations CSS pixels.
Fields§
§opacity: u16§scale_x: u16§scale_y: u16§translate_x: i16§translate_y: i16§rotate: i16§skew_x: i16§skew_y: i16§origin_x: u8§origin_y: u8Implementations§
Trait Implementations§
Source§impl Clone for PresenceStyle
impl Clone for PresenceStyle
impl Copy for PresenceStyle
Source§impl Debug for PresenceStyle
impl Debug for PresenceStyle
Source§impl Default for PresenceStyle
impl Default for PresenceStyle
impl Eq for PresenceStyle
Source§impl PartialEq for PresenceStyle
impl PartialEq for PresenceStyle
impl StructuralPartialEq for PresenceStyle
Auto Trait Implementations§
impl Forget for PresenceStyle
impl Freeze for PresenceStyle
impl RefUnwindSafe for PresenceStyle
impl Send for PresenceStyle
impl Sync for PresenceStyle
impl Unpin for PresenceStyle
impl UnsafeUnpin for PresenceStyle
impl UnwindSafe for PresenceStyle
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