pub enum FlexBoxDirection {
HorizontalLeftToRight,
HorizontalRightToLeft,
VerticalTopToBottom,
VerticalBottomToTop,
}
Variants§
Implementations§
source§impl FlexBoxDirection
impl FlexBoxDirection
pub fn is_horizontal(&self) -> bool
pub fn is_vertical(&self) -> bool
pub fn is_order_ascending(&self) -> bool
pub fn is_order_descending(&self) -> bool
Trait Implementations§
source§impl Clone for FlexBoxDirection
impl Clone for FlexBoxDirection
source§fn clone(&self) -> FlexBoxDirection
fn clone(&self) -> FlexBoxDirection
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 FlexBoxDirection
impl Debug for FlexBoxDirection
source§impl Default for FlexBoxDirection
impl Default for FlexBoxDirection
source§fn default() -> FlexBoxDirection
fn default() -> FlexBoxDirection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FlexBoxDirection
impl<'de> Deserialize<'de> for FlexBoxDirection
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 PartialEq for FlexBoxDirection
impl PartialEq for FlexBoxDirection
source§impl Serialize for FlexBoxDirection
impl Serialize for FlexBoxDirection
impl Copy for FlexBoxDirection
impl Eq for FlexBoxDirection
impl StructuralPartialEq for FlexBoxDirection
Auto Trait Implementations§
impl Freeze for FlexBoxDirection
impl RefUnwindSafe for FlexBoxDirection
impl Send for FlexBoxDirection
impl Sync for FlexBoxDirection
impl Unpin for FlexBoxDirection
impl UnwindSafe for FlexBoxDirection
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)