pub struct FSharpTypeAlias {
pub name: String,
pub type_params: Vec<String>,
pub aliased_type: FSharpType,
pub doc: Option<String>,
}Expand description
A type alias: type Alias = ExistingType.
Fields§
§name: StringAlias name.
type_params: Vec<String>Generic type parameters.
aliased_type: FSharpTypeThe aliased type.
doc: Option<String>Optional doc comment.
Implementations§
Trait Implementations§
Source§impl Clone for FSharpTypeAlias
impl Clone for FSharpTypeAlias
Source§fn clone(&self) -> FSharpTypeAlias
fn clone(&self) -> FSharpTypeAlias
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 FSharpTypeAlias
impl RefUnwindSafe for FSharpTypeAlias
impl Send for FSharpTypeAlias
impl Sync for FSharpTypeAlias
impl Unpin for FSharpTypeAlias
impl UnsafeUnpin for FSharpTypeAlias
impl UnwindSafe for FSharpTypeAlias
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