pub enum InternalReferenceRole {
Source,
Target,
}Variants§
Trait Implementations§
Source§impl Clone for InternalReferenceRole
impl Clone for InternalReferenceRole
Source§fn clone(&self) -> InternalReferenceRole
fn clone(&self) -> InternalReferenceRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InternalReferenceRole
Source§impl Debug for InternalReferenceRole
impl Debug for InternalReferenceRole
impl Eq for InternalReferenceRole
Source§impl Ord for InternalReferenceRole
impl Ord for InternalReferenceRole
Source§fn cmp(&self, other: &InternalReferenceRole) -> Ordering
fn cmp(&self, other: &InternalReferenceRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InternalReferenceRole
impl PartialEq for InternalReferenceRole
Source§impl PartialOrd for InternalReferenceRole
impl PartialOrd for InternalReferenceRole
impl StructuralPartialEq for InternalReferenceRole
Auto Trait Implementations§
impl Freeze for InternalReferenceRole
impl RefUnwindSafe for InternalReferenceRole
impl Send for InternalReferenceRole
impl Sync for InternalReferenceRole
impl Unpin for InternalReferenceRole
impl UnsafeUnpin for InternalReferenceRole
impl UnwindSafe for InternalReferenceRole
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