[−][src]Struct capnp::private::arena::BuilderArenaImpl
Methods
impl<A> BuilderArenaImpl<A> where
A: Allocator,
[src]
A: Allocator,
pub fn new(allocator: A) -> Self
[src]
pub fn allocate_segment(&self, minimum_size: u32) -> Result<()>
[src]
pub fn get_segments_for_output<'a>(&'a self) -> OutputSegments<'a>
[src]
pub fn len(&self) -> usize
[src]
Trait Implementations
impl<A> ReaderArena for BuilderArenaImpl<A> where
A: Allocator,
[src]
A: Allocator,
fn get_segment(&self, id: u32) -> Result<(*const Word, u32)>
[src]
fn check_offset(
&self,
_segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
[src]
&self,
_segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
fn contains_interval(
&self,
_id: u32,
_start: *const Word,
_size: usize
) -> Result<()>
[src]
&self,
_id: u32,
_start: *const Word,
_size: usize
) -> Result<()>
fn amplified_read(&self, _virtual_amount: u64) -> Result<()>
[src]
impl<A> BuilderArena for BuilderArenaImpl<A> where
A: Allocator,
[src]
A: Allocator,
Auto Trait Implementations
impl<A> !Send for BuilderArenaImpl<A>
impl<A> !Sync for BuilderArenaImpl<A>
impl<A> Unpin for BuilderArenaImpl<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for BuilderArenaImpl<A> where
A: UnwindSafe,
A: UnwindSafe,
impl<A> !RefUnwindSafe for BuilderArenaImpl<A>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,