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

#[repr(C)]
pub struct WirePointer { /* fields omitted */ }

Methods

impl WirePointer[src]

pub fn kind(&self) -> WirePointerKind[src]

pub fn is_positional(&self) -> bool[src]

pub fn is_capability(&self) -> bool[src]

pub fn target(&self) -> *const Word[src]

pub fn target_from_segment(
    &self,
    arena: &dyn ReaderArena,
    segment_id: u32
) -> Result<*const Word>
[src]

pub fn mut_target(&mut self) -> *mut Word[src]

pub fn set_kind_and_target(&mut self, kind: WirePointerKind, target: *mut Word)[src]

pub fn set_kind_with_zero_offset(&mut self, kind: WirePointerKind)[src]

pub fn set_kind_and_target_for_empty_struct(&mut self)[src]

pub fn inline_composite_list_element_count(&self) -> ElementCount32[src]

pub fn set_kind_and_inline_composite_list_element_count(
    &mut self,
    kind: WirePointerKind,
    element_count: ElementCount32
)
[src]

pub fn far_position_in_segment(&self) -> WordCount32[src]

pub fn is_double_far(&self) -> bool[src]

pub fn set_far(&mut self, is_double_far: bool, pos: WordCount32)[src]

pub fn set_cap(&mut self, index: u32)[src]

pub fn struct_data_size(&self) -> WordCount16[src]

pub fn struct_ptr_count(&self) -> WordCount16[src]

pub fn struct_word_size(&self) -> WordCount32[src]

pub fn set_struct_size(&mut self, size: StructSize)[src]

pub fn set_struct_size_from_pieces(
    &mut self,
    ds: WordCount16,
    rc: WirePointerCount16
)
[src]

pub fn list_element_size(&self) -> ElementSize[src]

pub fn list_element_count(&self) -> ElementCount32[src]

pub fn list_inline_composite_word_count(&self) -> WordCount32[src]

pub fn set_list_size_and_count(&mut self, es: ElementSize, ec: ElementCount32)[src]

pub fn set_list_inline_composite(&mut self, wc: WordCount32)[src]

pub fn far_segment_id(&self) -> SegmentId[src]

pub fn set_far_segment_id(&mut self, si: SegmentId)[src]

pub fn cap_index(&self) -> u32[src]

pub fn set_cap_index(&mut self, index: u32)[src]

pub fn is_null(&self) -> bool[src]

Auto Trait Implementations

impl Send for WirePointer

impl Sync for WirePointer

impl Unpin for WirePointer

impl UnwindSafe for WirePointer

impl RefUnwindSafe for WirePointer

Blanket Implementations

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 = !

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.

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

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

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