pub struct Field {
pub name: &'static str,
pub doc: Option<&'static str>,
pub available_since: Option<c_int>,
pub ty: &'static str,
}Expand description
Metadata for fields of structs and unions
Fields§
§name: &'static str§doc: Option<&'static str>§available_since: Option<c_int>§ty: &'static strTrait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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