pub struct FSharpModule {
pub name: String,
pub auto_open: bool,
pub records: Vec<FSharpRecord>,
pub unions: Vec<FSharpUnion>,
pub functions: Vec<FSharpFunction>,
pub opens: Vec<String>,
}Expand description
An F# module definition.
Fields§
§name: StringFully-qualified module name, e.g. "OxiLean.Math"
auto_open: boolWhether this is an open module (auto-opened)
records: Vec<FSharpRecord>Record type declarations
unions: Vec<FSharpUnion>Discriminated union declarations
functions: Vec<FSharpFunction>Function / value definitions
opens: Vec<String>open directives
Trait Implementations§
Source§impl Clone for FSharpModule
impl Clone for FSharpModule
Source§fn clone(&self) -> FSharpModule
fn clone(&self) -> FSharpModule
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 FSharpModule
impl RefUnwindSafe for FSharpModule
impl Send for FSharpModule
impl Sync for FSharpModule
impl Unpin for FSharpModule
impl UnsafeUnpin for FSharpModule
impl UnwindSafe for FSharpModule
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