pub enum ContainerOrientation {
Landscape,
Portrait,
}
Expand description
Container orientation
Variants§
Implementations§
Source§impl ContainerOrientation
impl ContainerOrientation
Sourcepub fn to_css_value(&self) -> String
pub fn to_css_value(&self) -> String
Convert to CSS value
Sourcepub fn to_class_name(&self) -> String
pub fn to_class_name(&self) -> String
Convert to class name
Trait Implementations§
Source§impl Clone for ContainerOrientation
impl Clone for ContainerOrientation
Source§fn clone(&self) -> ContainerOrientation
fn clone(&self) -> ContainerOrientation
Returns a duplicate 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 ContainerOrientation
impl Debug for ContainerOrientation
Source§impl<'de> Deserialize<'de> for ContainerOrientation
impl<'de> Deserialize<'de> for ContainerOrientation
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 Display for ContainerOrientation
impl Display for ContainerOrientation
Source§impl Hash for ContainerOrientation
impl Hash for ContainerOrientation
Source§impl PartialEq for ContainerOrientation
impl PartialEq for ContainerOrientation
Source§impl Serialize for ContainerOrientation
impl Serialize for ContainerOrientation
impl Eq for ContainerOrientation
impl StructuralPartialEq for ContainerOrientation
Auto Trait Implementations§
impl Freeze for ContainerOrientation
impl RefUnwindSafe for ContainerOrientation
impl Send for ContainerOrientation
impl Sync for ContainerOrientation
impl Unpin for ContainerOrientation
impl UnwindSafe for ContainerOrientation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.