Struct kcore::vm::VmObjectEntryAdapter [−][src]
pub struct VmObjectEntryAdapter { /* fields omitted */ }
Implementations
Trait Implementations
impl Adapter for VmObjectEntryAdapter
[src]
impl Adapter for VmObjectEntryAdapter
[src]type LinkOps = <RBTreeLink as DefaultLinkOps>::Ops
type LinkOps = <RBTreeLink as DefaultLinkOps>::Ops
Collection-specific link operations which allow an object to be inserted in an intrusive collection. Read more
type PointerOps = DefaultPointerOps<Box<VmObjectEntry>>
type PointerOps = DefaultPointerOps<Box<VmObjectEntry>>
Collection-specific pointer conversions which allow an object to be inserted in an intrusive collection. Read more
unsafe fn get_value(
&self,
link: <Self::LinkOps as LinkOps>::LinkPtr
) -> *const <Self::PointerOps as PointerOps>::Value
[src]
unsafe fn get_value(
&self,
link: <Self::LinkOps as LinkOps>::LinkPtr
) -> *const <Self::PointerOps as PointerOps>::Value
[src]Gets a reference to an object from a reference to a link in that object. Read more
unsafe fn get_link(
&self,
value: *const <Self::PointerOps as PointerOps>::Value
) -> <Self::LinkOps as LinkOps>::LinkPtr
[src]
unsafe fn get_link(
&self,
value: *const <Self::PointerOps as PointerOps>::Value
) -> <Self::LinkOps as LinkOps>::LinkPtr
[src]Gets a reference to the link for the given object. Read more
fn link_ops_mut(&mut self) -> &mut Self::LinkOps
[src]
fn link_ops_mut(&mut self) -> &mut Self::LinkOps
[src]Returns a reference to the mutable link operations.
fn pointer_ops(&self) -> &Self::PointerOps
[src]
fn pointer_ops(&self) -> &Self::PointerOps
[src]Returns a reference to the pointer converter.
impl Clone for VmObjectEntryAdapter
[src]
impl Clone for VmObjectEntryAdapter
[src]impl Default for VmObjectEntryAdapter
[src]
impl Default for VmObjectEntryAdapter
[src]impl<'a> KeyAdapter<'a> for VmObjectEntryAdapter
[src]
impl<'a> KeyAdapter<'a> for VmObjectEntryAdapter
[src]fn get_key(&self, ent: &'a VmObjectEntry) -> Self::Key
[src]
fn get_key(&self, ent: &'a VmObjectEntry) -> Self::Key
[src]Gets the key for the given object.
impl Copy for VmObjectEntryAdapter
[src]
impl Send for VmObjectEntryAdapter
[src]
impl Sync for VmObjectEntryAdapter
[src]
Auto Trait Implementations
impl !RefUnwindSafe for VmObjectEntryAdapter
impl Unpin for VmObjectEntryAdapter
impl !UnwindSafe for VmObjectEntryAdapter
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more