pub struct ExecutableMemory { /* private fields */ }Expand description
Allocation leases transferred with an executable. The root box is kept separate so projecting an unboxed query releases exactly that allocation, while attached child roots become ordinary tree storage.
Implementations§
Source§impl ExecutableMemory
impl ExecutableMemory
pub fn reserved_bytes(&self) -> usize
Trait Implementations§
Source§impl Debug for ExecutableMemory
impl Debug for ExecutableMemory
Source§impl Default for ExecutableMemory
impl Default for ExecutableMemory
Source§impl From<Option<MemoryReservation>> for ExecutableMemory
impl From<Option<MemoryReservation>> for ExecutableMemory
Source§fn from(storage: Option<MemoryReservation>) -> Self
fn from(storage: Option<MemoryReservation>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExecutableMemory
impl RefUnwindSafe for ExecutableMemory
impl Send for ExecutableMemory
impl Sync for ExecutableMemory
impl Unpin for ExecutableMemory
impl UnsafeUnpin for ExecutableMemory
impl UnwindSafe for ExecutableMemory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more