Struct bitsy_lang::StructTypeDef
source · pub struct StructTypeDef {
pub name: String,
pub fields: Vec<(String, Type)>,
pub span: Span,
}
Expand description
A user-defined struct
type.
Fields§
§name: String
§fields: Vec<(String, Type)>
§span: Span
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 moreAuto Trait Implementations§
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