[][src]Trait tm_rs::component::Accessor

pub trait Accessor {
    type C: Component;
    type RefT;

    pub const WRITE: bool;

    pub unsafe fn ref_from_ptr(
        ptr: *mut <Self::C as Component>::CType
    ) -> Self::RefT; }

Associated Types

Loading content...

Associated Constants

pub const WRITE: bool[src]

Loading content...

Required methods

pub unsafe fn ref_from_ptr(
    ptr: *mut <Self::C as Component>::CType
) -> Self::RefT
[src]

Loading content...

Implementors

impl<'a, C: Component> Accessor for Read<'a, C>[src]

type C = C

type RefT = &'a C::CType

impl<'a, C: Component> Accessor for Write<'a, C>[src]

type C = C

type RefT = &'a mut C::CType

Loading content...