pub enum AnchorEdge {
None,
Start,
End,
}Expand description
Which workbench edge a floating panel sticks to, on one axis.
Variants§
None
None: it keeps its place from the workbench’s top-left, clamped inside.
Start
The left edge (x) or the top edge (y).
End
The right edge (x) or the bottom edge (y).
Trait Implementations§
Source§impl Clone for AnchorEdge
impl Clone for AnchorEdge
Source§fn clone(&self) -> AnchorEdge
fn clone(&self) -> AnchorEdge
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 AnchorEdge
impl Debug for AnchorEdge
Source§impl Default for AnchorEdge
impl Default for AnchorEdge
Source§fn default() -> AnchorEdge
fn default() -> AnchorEdge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnchorEdge
impl<'de> Deserialize<'de> for AnchorEdge
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 AnchorEdge
impl PartialEq for AnchorEdge
Source§impl Serialize for AnchorEdge
impl Serialize for AnchorEdge
impl Copy for AnchorEdge
impl Eq for AnchorEdge
impl StructuralPartialEq for AnchorEdge
Auto Trait Implementations§
impl Freeze for AnchorEdge
impl RefUnwindSafe for AnchorEdge
impl Send for AnchorEdge
impl Sync for AnchorEdge
impl Unpin for AnchorEdge
impl UnsafeUnpin for AnchorEdge
impl UnwindSafe for AnchorEdge
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