pub enum PaneSnapReason {
RetainedPrevious,
SnappedNearest,
UnsnapOutsideWindow,
}Expand description
Deterministic snap decision categories.
Variants§
Trait Implementations§
Source§impl Clone for PaneSnapReason
impl Clone for PaneSnapReason
Source§fn clone(&self) -> PaneSnapReason
fn clone(&self) -> PaneSnapReason
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 PaneSnapReason
impl Debug for PaneSnapReason
Source§impl<'de> Deserialize<'de> for PaneSnapReason
impl<'de> Deserialize<'de> for PaneSnapReason
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 PaneSnapReason
impl PartialEq for PaneSnapReason
Source§impl Serialize for PaneSnapReason
impl Serialize for PaneSnapReason
impl Copy for PaneSnapReason
impl Eq for PaneSnapReason
impl StructuralPartialEq for PaneSnapReason
Auto Trait Implementations§
impl Freeze for PaneSnapReason
impl RefUnwindSafe for PaneSnapReason
impl Send for PaneSnapReason
impl Sync for PaneSnapReason
impl Unpin for PaneSnapReason
impl UnsafeUnpin for PaneSnapReason
impl UnwindSafe for PaneSnapReason
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