pub struct DocAttributes(Concatenated<Attribute>);Expand description
syn::Attribute(s) (zero or more) that are known to be a #[doc ].
Tuple Fields§
§0: Concatenated<Attribute>Implementations§
Source§impl DocAttributes
impl DocAttributes
pub fn to_tokens_with_addendum( self, addendum_text: Arguments<'_>, ) -> TokenStream
Trait Implementations§
Source§impl Clone for DocAttributes
impl Clone for DocAttributes
Source§fn clone(&self) -> DocAttributes
fn clone(&self) -> DocAttributes
Returns a duplicate 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 DocAttributes
impl Debug for DocAttributes
Source§impl Deref for DocAttributes
impl Deref for DocAttributes
Source§type Target = Concatenated<Attribute>
type Target = Concatenated<Attribute>
The resulting type after dereferencing.
Source§fn deref(&self) -> &Concatenated<Attribute>
fn deref(&self) -> &Concatenated<Attribute>
Dereferences the value.
Source§impl Parse for DocAttributes
impl Parse for DocAttributes
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for DocAttributes
impl RefUnwindSafe for DocAttributes
impl !Send for DocAttributes
impl !Sync for DocAttributes
impl Unpin for DocAttributes
impl UnwindSafe for DocAttributes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more