pub struct SnapConfig {
pub grid: Option<f64>,
pub anchor: bool,
pub guide: bool,
}Fields§
§grid: Option<f64>§anchor: bool§guide: boolTrait Implementations§
Source§impl Clone for SnapConfig
impl Clone for SnapConfig
Source§fn clone(&self) -> SnapConfig
fn clone(&self) -> SnapConfig
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 SnapConfig
Source§impl Debug for SnapConfig
impl Debug for SnapConfig
Source§impl<'de> Deserialize<'de> for SnapConfig
impl<'de> Deserialize<'de> for SnapConfig
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 SnapConfig
impl PartialEq for SnapConfig
Source§impl Serialize for SnapConfig
impl Serialize for SnapConfig
impl StructuralPartialEq for SnapConfig
Auto Trait Implementations§
impl Freeze for SnapConfig
impl RefUnwindSafe for SnapConfig
impl Send for SnapConfig
impl Sync for SnapConfig
impl Unpin for SnapConfig
impl UnsafeUnpin for SnapConfig
impl UnwindSafe for SnapConfig
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