#[repr(i32)]pub enum SnapPointsAlignment {
Near = 0,
Center = 1,
Far = 2,
}Expand description
Specify options for snap point alignment relative to an edge. Which edge depends on the orientation of the object where the alignment is applied.
Variants§
Near = 0
Use snap points grouped closer to the orientation edge.
Center = 1
Use snap points that are centered in the orientation.
Far = 2
Use snap points grouped farther from the orientation edge.
Trait Implementations§
Source§impl Clone for SnapPointsAlignment
impl Clone for SnapPointsAlignment
impl Copy for SnapPointsAlignment
Source§impl Debug for SnapPointsAlignment
impl Debug for SnapPointsAlignment
impl Eq for SnapPointsAlignment
Source§impl Hash for SnapPointsAlignment
impl Hash for SnapPointsAlignment
Source§impl MarkupTyped for SnapPointsAlignment
impl MarkupTyped for SnapPointsAlignment
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for SnapPointsAlignment
impl PartialEq for SnapPointsAlignment
impl StructuralPartialEq for SnapPointsAlignment
Auto Trait Implementations§
impl Freeze for SnapPointsAlignment
impl RefUnwindSafe for SnapPointsAlignment
impl Send for SnapPointsAlignment
impl Sync for SnapPointsAlignment
impl Unpin for SnapPointsAlignment
impl UnsafeUnpin for SnapPointsAlignment
impl UnwindSafe for SnapPointsAlignment
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more