pub struct ChainEntry { /* private fields */ }Expand description
A single chain entry, optionally labeled as label = Chain.
Implementations§
Source§impl ChainEntry
impl ChainEntry
pub fn label(&self) -> Option<&Ident>
pub fn chain(&self) -> &AttributeChain
pub fn into_chain(self) -> AttributeChain
Trait Implementations§
Source§impl Clone for ChainEntry
impl Clone for ChainEntry
Source§fn clone(&self) -> ChainEntry
fn clone(&self) -> ChainEntry
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 Debug for ChainEntry
impl Debug for ChainEntry
Source§impl Parse for ChainEntry
impl Parse for ChainEntry
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl !Send for ChainEntry
impl !Sync for ChainEntry
impl Freeze for ChainEntry
impl RefUnwindSafe for ChainEntry
impl Unpin for ChainEntry
impl UnsafeUnpin for ChainEntry
impl UnwindSafe for ChainEntry
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