pub struct InspectFields<'data, 'model> { /* private fields */ }Implementations§
Source§impl<'data, 'model> InspectFields<'data, 'model>
impl<'data, 'model> InspectFields<'data, 'model>
pub fn new(sty: &'model StructType<'model>, ptr: Opaque<'data>) -> Self
pub fn get_by_name<T: 'static>(&self, name: &str) -> Option<&'data T>
Auto Trait Implementations§
impl<'data, 'model> Freeze for InspectFields<'data, 'model>
impl<'data, 'model> RefUnwindSafe for InspectFields<'data, 'model>
impl<'data, 'model> !Send for InspectFields<'data, 'model>
impl<'data, 'model> !Sync for InspectFields<'data, 'model>
impl<'data, 'model> Unpin for InspectFields<'data, 'model>
impl<'data, 'model> UnwindSafe for InspectFields<'data, 'model>
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