Enum cola::AnchorBias
source · pub enum AnchorBias {
Left,
Right,
}Expand description
A bias to use when creating an Anchor.
This is used in the
Replica::create_anchor() method to
create a new Anchor. See the documentation of that method for more
information.
Variants§
Trait Implementations§
source§impl Clone for AnchorBias
impl Clone for AnchorBias
source§fn clone(&self) -> AnchorBias
fn clone(&self) -> AnchorBias
Returns a copy 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 AnchorBias
impl Debug for AnchorBias
source§impl PartialEq for AnchorBias
impl PartialEq for AnchorBias
source§fn eq(&self, other: &AnchorBias) -> bool
fn eq(&self, other: &AnchorBias) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AnchorBias
impl Eq for AnchorBias
impl StructuralPartialEq for AnchorBias
Auto Trait Implementations§
impl RefUnwindSafe for AnchorBias
impl Send for AnchorBias
impl Sync for AnchorBias
impl Unpin for AnchorBias
impl UnwindSafe for AnchorBias
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