pub enum SurfaceLayout {
Rotated,
Unrotated,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceLayout
impl Clone for SurfaceLayout
Source§fn clone(&self) -> SurfaceLayout
fn clone(&self) -> SurfaceLayout
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 moreimpl Copy for SurfaceLayout
Source§impl Debug for SurfaceLayout
impl Debug for SurfaceLayout
Source§impl<'de> Deserialize<'de> for SurfaceLayout
impl<'de> Deserialize<'de> for SurfaceLayout
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 SurfaceLayout
Source§impl PartialEq for SurfaceLayout
impl PartialEq for SurfaceLayout
Source§impl Serialize for SurfaceLayout
impl Serialize for SurfaceLayout
impl StructuralPartialEq for SurfaceLayout
Auto Trait Implementations§
impl Freeze for SurfaceLayout
impl RefUnwindSafe for SurfaceLayout
impl Send for SurfaceLayout
impl Sync for SurfaceLayout
impl Unpin for SurfaceLayout
impl UnsafeUnpin for SurfaceLayout
impl UnwindSafe for SurfaceLayout
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