pub enum ExtensionKind {
Function,
Type,
TypeVariation,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExtensionKind
impl Clone for ExtensionKind
Source§fn clone(&self) -> ExtensionKind
fn clone(&self) -> ExtensionKind
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 ExtensionKind
impl Debug for ExtensionKind
Source§impl Display for ExtensionKind
impl Display for ExtensionKind
Source§impl Ord for ExtensionKind
impl Ord for ExtensionKind
Source§fn cmp(&self, other: &ExtensionKind) -> Ordering
fn cmp(&self, other: &ExtensionKind) -> Ordering
1.21.0 · 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 ExtensionKind
impl PartialEq for ExtensionKind
Source§impl PartialOrd for ExtensionKind
impl PartialOrd for ExtensionKind
impl Copy for ExtensionKind
impl Eq for ExtensionKind
impl StructuralPartialEq for ExtensionKind
Auto Trait Implementations§
impl Freeze for ExtensionKind
impl RefUnwindSafe for ExtensionKind
impl Send for ExtensionKind
impl Sync for ExtensionKind
impl Unpin for ExtensionKind
impl UnwindSafe for ExtensionKind
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