pub struct NamedFields {
pub fields: Punctuated<NamedField>,
pub tk_braces: GroupSpan,
}
Expand description
Fields in a nominal Struct
.
Fields§
§fields: Punctuated<NamedField>
§tk_braces: GroupSpan
Trait Implementations§
Source§impl Clone for NamedFields
impl Clone for NamedFields
Source§fn clone(&self) -> NamedFields
fn clone(&self) -> NamedFields
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 NamedFields
impl Debug for NamedFields
Source§impl ToTokens for NamedFields
impl ToTokens for NamedFields
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for NamedFields
impl RefUnwindSafe for NamedFields
impl !Send for NamedFields
impl !Sync for NamedFields
impl Unpin for NamedFields
impl UnwindSafe for NamedFields
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