pub struct NativeFrameTransform {
pub rotation_degrees: u16,
pub mirrored_horizontal: bool,
pub mirrored_vertical: bool,
}Expand description
Display transform metadata that must be preserved across native-frame stages.
Fields§
§rotation_degrees: u16§mirrored_horizontal: bool§mirrored_vertical: boolTrait Implementations§
Source§impl Clone for NativeFrameTransform
impl Clone for NativeFrameTransform
Source§fn clone(&self) -> NativeFrameTransform
fn clone(&self) -> NativeFrameTransform
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 NativeFrameTransform
impl Debug for NativeFrameTransform
Source§impl<'de> Deserialize<'de> for NativeFrameTransform
impl<'de> Deserialize<'de> for NativeFrameTransform
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeFrameTransform
Source§impl PartialEq for NativeFrameTransform
impl PartialEq for NativeFrameTransform
Source§impl Serialize for NativeFrameTransform
impl Serialize for NativeFrameTransform
impl StructuralPartialEq for NativeFrameTransform
Auto Trait Implementations§
impl Freeze for NativeFrameTransform
impl RefUnwindSafe for NativeFrameTransform
impl Send for NativeFrameTransform
impl Sync for NativeFrameTransform
impl Unpin for NativeFrameTransform
impl UnsafeUnpin for NativeFrameTransform
impl UnwindSafe for NativeFrameTransform
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