[][src]Struct sunrise_kernel::paging::hierarchical_table::SmartHierarchicalTable

pub struct SmartHierarchicalTable<'a, T: HierarchicalTable>(*mut T, PhantomData<&'a T>);

This is just a wrapper for a pointer to a table. It enables us to do handle when it is dropped

Implementations

impl<'a, T: HierarchicalTable> SmartHierarchicalTable<'a, T>[src]

pub fn new(inner: *mut T) -> SmartHierarchicalTable<'a, T>[src]

Wraps the given pointer in a SmartHierarchicalTable.

Trait Implementations

impl<'a, T: HierarchicalTable> Deref for SmartHierarchicalTable<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T: HierarchicalTable> DerefMut for SmartHierarchicalTable<'a, T>[src]

impl<'a, T: HierarchicalTable> Drop for SmartHierarchicalTable<'a, T>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for SmartHierarchicalTable<'a, T> where
    T: RefUnwindSafe

impl<'a, T> !Send for SmartHierarchicalTable<'a, T>

impl<'a, T> !Sync for SmartHierarchicalTable<'a, T>

impl<'a, T> Unpin for SmartHierarchicalTable<'a, T>

impl<'a, T> UnwindSafe for SmartHierarchicalTable<'a, T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.