Enum webrender_api::TransformStyle
source · #[repr(u8)]pub enum TransformStyle {
Flat = 0,
Preserve3D = 1,
}
Variants§
Trait Implementations§
source§impl Clone for TransformStyle
impl Clone for TransformStyle
source§fn clone(&self) -> TransformStyle
fn clone(&self) -> TransformStyle
Returns a copy 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 moresource§impl Debug for TransformStyle
impl Debug for TransformStyle
source§impl Default for TransformStyle
impl Default for TransformStyle
source§impl<'de> Deserialize<'de> for TransformStyle
impl<'de> Deserialize<'de> for TransformStyle
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
source§impl Hash for TransformStyle
impl Hash for TransformStyle
source§impl PartialEq for TransformStyle
impl PartialEq for TransformStyle
source§fn eq(&self, other: &TransformStyle) -> bool
fn eq(&self, other: &TransformStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for TransformStyle
impl Peek for TransformStyle
source§impl Poke for TransformStyle
impl Poke for TransformStyle
source§impl Serialize for TransformStyle
impl Serialize for TransformStyle
impl Copy for TransformStyle
impl Eq for TransformStyle
impl StructuralPartialEq for TransformStyle
Auto Trait Implementations§
impl Freeze for TransformStyle
impl RefUnwindSafe for TransformStyle
impl Send for TransformStyle
impl Sync for TransformStyle
impl Unpin for TransformStyle
impl UnwindSafe for TransformStyle
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