pub struct UnnamedField {
pub vis: Visibility,
pub type: Vec<TokenTree>,
pub attributes: Vec<Attribute>,
}Expand description
An unnamed field
Fields§
§vis: VisibilityThe visibility of the field
type: Vec<TokenTree>The type of the field
attributes: Vec<Attribute>The attributes of the field
Implementations§
Source§impl UnnamedField
impl UnnamedField
Sourcepub fn type_string(&self) -> String
pub fn type_string(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl !Send for UnnamedField
impl !Sync for UnnamedField
impl Freeze for UnnamedField
impl RefUnwindSafe for UnnamedField
impl Unpin for UnnamedField
impl UnsafeUnpin for UnnamedField
impl UnwindSafe for UnnamedField
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