pub struct FSharpInterface {
pub name: String,
pub type_params: Vec<String>,
pub methods: Vec<(String, Vec<(String, FSharpType)>, FSharpType)>,
pub properties: Vec<(String, FSharpType, bool)>,
pub doc: Option<String>,
}Expand description
A .NET/F# interface declaration.
Fields§
§name: StringInterface name (conventionally starts with I).
type_params: Vec<String>Generic type parameters.
methods: Vec<(String, Vec<(String, FSharpType)>, FSharpType)>Abstract method signatures: (name, params, return_type).
properties: Vec<(String, FSharpType, bool)>Abstract property signatures: (name, type).
doc: Option<String>Optional XML doc comment.
Implementations§
Trait Implementations§
Source§impl Clone for FSharpInterface
impl Clone for FSharpInterface
Source§fn clone(&self) -> FSharpInterface
fn clone(&self) -> FSharpInterface
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 FSharpInterface
impl RefUnwindSafe for FSharpInterface
impl Send for FSharpInterface
impl Sync for FSharpInterface
impl Unpin for FSharpInterface
impl UnsafeUnpin for FSharpInterface
impl UnwindSafe for FSharpInterface
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