pub struct StructTypes(/* private fields */);
Expand description
Wraps the types a struct contains. Must contain at least one type, empty structs are not allowed in the spec
Implementations§
Trait Implementations§
Source§impl AsRef<[Type]> for StructTypes
impl AsRef<[Type]> for StructTypes
Source§impl Clone for StructTypes
impl Clone for StructTypes
Source§fn clone(&self) -> StructTypes
fn clone(&self) -> StructTypes
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 StructTypes
impl Debug for StructTypes
Source§impl PartialEq for StructTypes
impl PartialEq for StructTypes
impl Eq for StructTypes
impl StructuralPartialEq for StructTypes
Auto Trait Implementations§
impl Freeze for StructTypes
impl RefUnwindSafe for StructTypes
impl Send for StructTypes
impl Sync for StructTypes
impl Unpin for StructTypes
impl UnwindSafe for StructTypes
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