pub enum ImportPreludeSupportsKind<'s> {
SupportsCondition(SupportsCondition<'s>),
Declaration(Declaration<'s>),
}Variants§
SupportsCondition(SupportsCondition<'s>)
Declaration(Declaration<'s>)
Trait Implementations§
Source§impl<'s> Clone for ImportPreludeSupportsKind<'s>
impl<'s> Clone for ImportPreludeSupportsKind<'s>
Source§fn clone(&self) -> ImportPreludeSupportsKind<'s>
fn clone(&self) -> ImportPreludeSupportsKind<'s>
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 moreSource§impl<'s> Debug for ImportPreludeSupportsKind<'s>
impl<'s> Debug for ImportPreludeSupportsKind<'s>
Source§impl<'s> PartialEq for ImportPreludeSupportsKind<'s>
impl<'s> PartialEq for ImportPreludeSupportsKind<'s>
Source§fn eq(&self, other: &ImportPreludeSupportsKind<'s>) -> bool
fn eq(&self, other: &ImportPreludeSupportsKind<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for ImportPreludeSupportsKind<'s>
Auto Trait Implementations§
impl<'s> Freeze for ImportPreludeSupportsKind<'s>
impl<'s> RefUnwindSafe for ImportPreludeSupportsKind<'s>
impl<'s> Send for ImportPreludeSupportsKind<'s>
impl<'s> Sync for ImportPreludeSupportsKind<'s>
impl<'s> Unpin for ImportPreludeSupportsKind<'s>
impl<'s> UnsafeUnpin for ImportPreludeSupportsKind<'s>
impl<'s> UnwindSafe for ImportPreludeSupportsKind<'s>
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