Struct capnp::private::layout::WirePointer [] [src]

pub struct WirePointer {
    // some fields omitted
}

Methods

impl WirePointer

fn kind(&self) -> WirePointerKind

fn is_capability(&self) -> bool

fn target(&self) -> *const Word

fn mut_target(&mut self) -> *mut Word

fn set_kind_and_target(&mut self, kind: WirePointerKind, target: *mut Word)

fn set_kind_with_zero_offset(&mut self, kind: WirePointerKind)

fn set_kind_and_target_for_empty_struct(&mut self)

fn inline_composite_list_element_count(&self) -> ElementCount32

fn set_kind_and_inline_composite_list_element_count(&mut self, kind: WirePointerKind, element_count: ElementCount32)

fn far_position_in_segment(&self) -> WordCount32

fn is_double_far(&self) -> bool

fn set_far(&mut self, is_double_far: bool, pos: WordCount32)

fn set_cap(&mut self, index: u32)

fn struct_ref<'a>(&'a self) -> &'a StructRef

fn mut_struct_ref<'a>(&'a mut self) -> &'a mut StructRef

fn list_ref<'a>(&'a self) -> &'a ListRef

fn mut_list_ref<'a>(&'a mut self) -> &'a mut ListRef

fn far_ref<'a>(&'a self) -> &'a FarRef

fn mut_far_ref<'a>(&'a mut self) -> &'a mut FarRef

fn cap_ref<'a>(&'a self) -> &'a CapRef

fn mut_cap_ref<'a>(&'a mut self) -> &'a mut CapRef

fn is_null(&self) -> bool