pub struct StructTypeDef {
pub name: String,
pub fields: Vec<(String, Type)>,
}
Expand description
A user-defined struct
type.
Fields§
§name: String
§fields: Vec<(String, Type)>
Implementations§
Trait Implementations§
Source§impl Clone for StructTypeDef
impl Clone for StructTypeDef
Source§fn clone(&self) -> StructTypeDef
fn clone(&self) -> StructTypeDef
Returns a copy 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 StructTypeDef
impl Debug for StructTypeDef
Source§impl PartialEq for StructTypeDef
impl PartialEq for StructTypeDef
impl StructuralPartialEq for StructTypeDef
Auto Trait Implementations§
impl Freeze for StructTypeDef
impl RefUnwindSafe for StructTypeDef
impl Send for StructTypeDef
impl Sync for StructTypeDef
impl Unpin for StructTypeDef
impl UnwindSafe for StructTypeDef
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