[][src]Struct spaik::nk::NkAtom

#[repr(C)]pub struct NkAtom {
    pub sz: NkSz,
    pub meta: NkAtomMeta,
    pub next: *mut NkAtom,
    pub mem: __IncompleteArrayField<c_char>,
}

Fields

sz: NkSzmeta: NkAtomMetanext: *mut NkAtommem: __IncompleteArrayField<c_char>

Implementations

impl NkAtom[src]

pub fn make_ref<T: Fissile>(p: *mut T) -> PV[src]

pub fn as_sum(&self) -> NkSum[src]

pub fn make_raw_ref<T: Fissile>(p: *mut T) -> *mut NkAtom[src]

pub unsafe fn fastcast_mut<T>(&mut self) -> *mut T[src]

pub unsafe fn fastcast<T>(&self) -> *const T[src]

pub fn cast<T: Fissile>(&mut self) -> Option<&mut T>[src]

pub fn color(&self) -> Color[src]

pub fn match_ref(&self) -> NkRef<'_>[src]

pub fn match_mut(&mut self) -> NkMut<'_>[src]

pub fn set_color(&mut self, color: Color)[src]

pub fn type_of(&self) -> NkT[src]

Trait Implementations

impl Debug for NkAtom[src]

impl LispFmt for NkAtom[src]

Auto Trait Implementations

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.