Struct rust_codegen::Field
source · [−]pub struct Field {
pub name: String,
pub ty: Type,
pub documentation: Vec<String>,
pub annotation: Vec<String>,
}
Expand description
Defines a struct field.
Fields
name: String
Field name
ty: Type
Field type
documentation: Vec<String>
Field documentation
annotation: Vec<String>
Field annotation
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more