pub enum AttachPointType {
Origin,
Child,
Left,
Right,
Top,
Bottom,
Front,
Back,
Alignment,
Maximum,
Minimum,
}Expand description
The type of the point “Origin” - the origin of a product, matches to “Child” “Child” - a (virtual) child can be placed, matches to “Origin” “Left” - L-R neighborship, matches to “Right” “Right” - L-R neighborship, matches to “Left” “Top” - vertical neighborship, matches to “Bottom” “Bottom” - vertical neighborship, matches to “Top” “Front” - front/back neighborship, matches to “Back” “Back” - front/back neighborship, machtes to “Front” “Alignment” - auxiliary point to support alignments “Maximum” - marks the maximum of the bbox “Minimum” - marks the minimum of the bbox
Variants
Origin
Child
Left
Right
Top
Bottom
Front
Back
Alignment
Maximum
Minimum
Trait Implementations
sourceimpl Clone for AttachPointType
impl Clone for AttachPointType
sourcefn clone(&self) -> AttachPointType
fn clone(&self) -> AttachPointType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AttachPointType
impl Debug for AttachPointType
sourceimpl<'de> Deserialize<'de> for AttachPointType
impl<'de> Deserialize<'de> for AttachPointType
sourcefn 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
sourceimpl PartialEq<AttachPointType> for AttachPointType
impl PartialEq<AttachPointType> for AttachPointType
sourcefn eq(&self, other: &AttachPointType) -> bool
fn eq(&self, other: &AttachPointType) -> bool
sourceimpl Serialize for AttachPointType
impl Serialize for AttachPointType
impl StructuralPartialEq for AttachPointType
Auto Trait Implementations
impl RefUnwindSafe for AttachPointType
impl Send for AttachPointType
impl Sync for AttachPointType
impl Unpin for AttachPointType
impl UnwindSafe for AttachPointType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more