pub enum GridRounding {
Reject,
Floor,
Ceil,
}Expand description
Explicit handling for a value outside a declared grid.
Variants§
Trait Implementations§
Source§impl Clone for GridRounding
impl Clone for GridRounding
Source§fn clone(&self) -> GridRounding
fn clone(&self) -> GridRounding
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 GridRounding
Source§impl Debug for GridRounding
impl Debug for GridRounding
Source§impl<'de> Deserialize<'de> for GridRounding
impl<'de> Deserialize<'de> for GridRounding
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 GridRounding
Source§impl PartialEq for GridRounding
impl PartialEq for GridRounding
Source§impl Serialize for GridRounding
impl Serialize for GridRounding
impl StructuralPartialEq for GridRounding
Auto Trait Implementations§
impl Freeze for GridRounding
impl RefUnwindSafe for GridRounding
impl Send for GridRounding
impl Sync for GridRounding
impl Unpin for GridRounding
impl UnsafeUnpin for GridRounding
impl UnwindSafe for GridRounding
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