#[non_exhaustive]pub enum MarginMode {
Cross,
Isolated,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for MarginMode
impl Clone for MarginMode
Source§fn clone(&self) -> MarginMode
fn clone(&self) -> MarginMode
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 MarginMode
impl Debug for MarginMode
Source§impl Display for MarginMode
impl Display for MarginMode
Source§impl FromStr for MarginMode
impl FromStr for MarginMode
Source§impl Hash for MarginMode
impl Hash for MarginMode
Source§impl PartialEq for MarginMode
impl PartialEq for MarginMode
Source§fn eq(&self, other: &MarginMode) -> bool
fn eq(&self, other: &MarginMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for MarginMode
impl TryFrom<&str> for MarginMode
impl Copy for MarginMode
impl Eq for MarginMode
impl StructuralPartialEq for MarginMode
Auto Trait Implementations§
impl Freeze for MarginMode
impl RefUnwindSafe for MarginMode
impl Send for MarginMode
impl Sync for MarginMode
impl Unpin for MarginMode
impl UnsafeUnpin for MarginMode
impl UnwindSafe for MarginMode
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