pub struct Property<'a> {
pub getter: *const c_void,
pub setter: *const c_void,
pub descriptor: *const c_void,
pub root: &'a [u8],
pub value: &'a [u8],
}Expand description
The accessors one key path needs, resolved at run time.
Fields§
§getter: *const c_voidThe property’s getter, …vg.
setter: *const c_voidThe property’s setter, …vs.
descriptor: *const c_voidThe property descriptor, …vpMV.
root: &'a [u8]The root type’s mangled name, without the $s prefix.
Borrowed only for the call: build copies it into the slot, which is
what has to outlive everything.
value: &'a [u8]The value type’s mangled name, without the $s prefix.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for Property<'a>
impl<'a> !Sync for Property<'a>
impl<'a> Freeze for Property<'a>
impl<'a> RefUnwindSafe for Property<'a>
impl<'a> Unpin for Property<'a>
impl<'a> UnsafeUnpin for Property<'a>
impl<'a> UnwindSafe for Property<'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