pub struct TypeStruct<'a> { /* private fields */ }
Expand description
Struct type details.
Implementations§
source§impl<'a> TypeStruct<'a>
impl<'a> TypeStruct<'a>
sourcepub fn properties(&'a self) -> impl Iterator<Item = (&'a str, TypeId)>
pub fn properties(&'a self) -> impl Iterator<Item = (&'a str, TypeId)>
Get name and type of each property.
sourcepub fn properties_info(&'a self) -> impl Iterator<Item = TypeStructPropInfo<'_>>
pub fn properties_info(&'a self) -> impl Iterator<Item = TypeStructPropInfo<'_>>
Get all information about each struct property.
Auto Trait Implementations§
impl<'a> Freeze for TypeStruct<'a>
impl<'a> RefUnwindSafe for TypeStruct<'a>
impl<'a> Send for TypeStruct<'a>
impl<'a> Sync for TypeStruct<'a>
impl<'a> Unpin for TypeStruct<'a>
impl<'a> UnwindSafe for TypeStruct<'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