pub struct FieldGetter { /* private fields */ }Expand description
Resolves a reflected field once, then uses its registered C ABI getter.
Implementations§
Source§impl FieldGetter
impl FieldGetter
Sourcepub fn new(type_index: i32, field_name: &str) -> Result<Self>
pub fn new(type_index: i32, field_name: &str) -> Result<Self>
Resolve a reflected field declared by type_index or one of its bases.
Trait Implementations§
Source§impl Clone for FieldGetter
impl Clone for FieldGetter
Source§fn clone(&self) -> FieldGetter
fn clone(&self) -> FieldGetter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FieldGetter
Auto Trait Implementations§
impl Freeze for FieldGetter
impl RefUnwindSafe for FieldGetter
impl Send for FieldGetter
impl Sync for FieldGetter
impl Unpin for FieldGetter
impl UnsafeUnpin for FieldGetter
impl UnwindSafe for FieldGetter
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