Struct fp_bindgen::types::Variant
source · [−]pub struct Variant {
pub name: String,
pub ty: Type,
pub doc_lines: Vec<String>,
pub attrs: VariantAttrs,
}
Fields
name: String
ty: Type
doc_lines: Vec<String>
attrs: VariantAttrs
Trait Implementations
sourceimpl PartialEq<Variant> for Variant
impl PartialEq<Variant> for Variant
impl Eq for Variant
impl StructuralEq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnwindSafe for Variant
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