pub struct Struct<'a> {
    pub name: Cow<'static, str>,
    pub data: Data<'a>,
}Expand description
Represents a Rust struct.
Fields§
§name: Cow<'static, str>The name of the struct.
data: Data<'a>The data of the struct.
Implementations§
Trait Implementations§
Source§impl<'a> PartialOrd for Struct<'a>
 
impl<'a> PartialOrd for Struct<'a>
Source§impl Unexpected for Box<Struct<'_>>
 
impl Unexpected for Box<Struct<'_>>
Source§fn unexpected(self, expected: Expected) -> Error
 
fn unexpected(self, expected: Expected) -> Error
Consumes the type and returns an error.
impl<'a> StructuralPartialEq for Struct<'a>
Auto Trait Implementations§
impl<'a> Freeze for Struct<'a>
impl<'a> RefUnwindSafe for Struct<'a>
impl<'a> Send for Struct<'a>
impl<'a> Sync for Struct<'a>
impl<'a> Unpin for Struct<'a>
impl<'a> UnwindSafe for Struct<'a>
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