pub struct OcamlTypeDef {
pub name: String,
pub type_params: Vec<String>,
pub decl: OcamlTypeDecl,
}Expand description
A full OCaml type definition.
Fields§
§name: String§type_params: Vec<String>Type parameters: 'a, 'b, etc.
decl: OcamlTypeDeclTrait Implementations§
Source§impl Clone for OcamlTypeDef
impl Clone for OcamlTypeDef
Source§fn clone(&self) -> OcamlTypeDef
fn clone(&self) -> OcamlTypeDef
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 moreSource§impl Debug for OcamlTypeDef
impl Debug for OcamlTypeDef
Auto Trait Implementations§
impl Freeze for OcamlTypeDef
impl RefUnwindSafe for OcamlTypeDef
impl Send for OcamlTypeDef
impl Sync for OcamlTypeDef
impl Unpin for OcamlTypeDef
impl UnsafeUnpin for OcamlTypeDef
impl UnwindSafe for OcamlTypeDef
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