pub struct FSharpUnionCaseNamed {
pub name: String,
pub named_fields: Vec<(String, FSharpType)>,
}Expand description
A discriminated union case with named fields (record-like).
Fields§
§name: StringCase name.
named_fields: Vec<(String, FSharpType)>Named fields: (field_name, type).
Implementations§
Trait Implementations§
Source§impl Clone for FSharpUnionCaseNamed
impl Clone for FSharpUnionCaseNamed
Source§fn clone(&self) -> FSharpUnionCaseNamed
fn clone(&self) -> FSharpUnionCaseNamed
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 moreAuto Trait Implementations§
impl Freeze for FSharpUnionCaseNamed
impl RefUnwindSafe for FSharpUnionCaseNamed
impl Send for FSharpUnionCaseNamed
impl Sync for FSharpUnionCaseNamed
impl Unpin for FSharpUnionCaseNamed
impl UnsafeUnpin for FSharpUnionCaseNamed
impl UnwindSafe for FSharpUnionCaseNamed
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