pub struct StructType {
pub identifier: LocalTypeIdentifier,
pub fields: Vec<FieldType>,
}
Fields§
§identifier: LocalTypeIdentifier
§fields: Vec<FieldType>
Implementations§
Source§impl StructType
impl StructType
pub const fn new( identifier: LocalTypeIdentifier, fields: Vec<FieldType>, ) -> Self
Trait Implementations§
Source§impl Debug for StructType
impl Debug for StructType
Source§impl Default for StructType
impl Default for StructType
Source§fn default() -> StructType
fn default() -> StructType
Returns the “default value” for a type. Read more
Source§impl PartialEq for StructType
impl PartialEq for StructType
impl Eq for StructType
impl StructuralPartialEq for StructType
Auto Trait Implementations§
impl Freeze for StructType
impl RefUnwindSafe for StructType
impl Send for StructType
impl Sync for StructType
impl Unpin for StructType
impl UnwindSafe for StructType
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