pub enum EdgeAnchor {
Top,
Right,
Bottom,
Left,
None,
}Expand description
Identifies an edge anchor of a rectangle.
[0.0, 1.0]
Top
┌─────┐
[-1.0, 0.0] Left │ │ Right [1.0, 0.0]
└─────┘
Bottom
[0.0, -1.0]Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EdgeAnchor
impl Clone for EdgeAnchor
Source§fn clone(&self) -> EdgeAnchor
fn clone(&self) -> EdgeAnchor
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 EdgeAnchor
impl Debug for EdgeAnchor
Source§impl PartialEq for EdgeAnchor
impl PartialEq for EdgeAnchor
impl Copy for EdgeAnchor
impl Eq for EdgeAnchor
impl StructuralPartialEq for EdgeAnchor
Auto Trait Implementations§
impl Freeze for EdgeAnchor
impl RefUnwindSafe for EdgeAnchor
impl Send for EdgeAnchor
impl Sync for EdgeAnchor
impl Unpin for EdgeAnchor
impl UnwindSafe for EdgeAnchor
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