pub struct BoxedSlice<'value, 'dwarf, P = DefaultProvider>where
P: DebugInfoProvider,{ /* private fields */ }Expand description
A reflected Box’d slice.
Implementations§
Source§impl<'value, 'dwarf, P> BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
impl<'value, 'dwarf, P> BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Sourcepub fn schema(&self) -> &BoxedSlice<'dwarf, P::Reader>
pub fn schema(&self) -> &BoxedSlice<'dwarf, P::Reader>
The schema of this value.
Trait Implementations§
Source§impl<'value, 'dwarf, P> Debug for BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
impl<'value, 'dwarf, P> Debug for BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Source§impl<'value, 'dwarf, P> Display for BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
impl<'value, 'dwarf, P> Display for BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Source§impl<'value, 'dwarf, P> From<BoxedSlice<'value, 'dwarf, P>> for Value<'value, 'dwarf, P>where
P: DebugInfoProvider,
Upcast a BoxedSlice<'value, 'dwarf, P> into a Value<'value, 'dwarf, P>.
impl<'value, 'dwarf, P> From<BoxedSlice<'value, 'dwarf, P>> for Value<'value, 'dwarf, P>where
P: DebugInfoProvider,
Upcast a BoxedSlice<'value, 'dwarf, P> into a Value<'value, 'dwarf, P>.
Source§fn from(atom: BoxedSlice<'value, 'dwarf, P>) -> Self
fn from(atom: BoxedSlice<'value, 'dwarf, P>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'value, 'dwarf, P> TryFrom<&'a Value<'value, 'dwarf, P>> for &'a BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Attempt to downcast a &Value<'value, 'dwarf, P> into a &BoxedSlice<'value, 'dwarf, P>.
impl<'a, 'value, 'dwarf, P> TryFrom<&'a Value<'value, 'dwarf, P>> for &'a BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Attempt to downcast a &Value<'value, 'dwarf, P> into a &BoxedSlice<'value, 'dwarf, P>.
Source§impl<'value, 'dwarf, P> TryFrom<Value<'value, 'dwarf, P>> for BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Attempt to downcast a Value<'value, 'dwarf, P> into a BoxedSlice<'value, 'dwarf, P>.
impl<'value, 'dwarf, P> TryFrom<Value<'value, 'dwarf, P>> for BoxedSlice<'value, 'dwarf, P>where
P: DebugInfoProvider,
Attempt to downcast a Value<'value, 'dwarf, P> into a BoxedSlice<'value, 'dwarf, P>.
Auto Trait Implementations§
impl<'value, 'dwarf, P = DefaultProvider> !Freeze for BoxedSlice<'value, 'dwarf, P>
impl<'value, 'dwarf, P = DefaultProvider> !RefUnwindSafe for BoxedSlice<'value, 'dwarf, P>
impl<'value, 'dwarf, P> Send for BoxedSlice<'value, 'dwarf, P>
impl<'value, 'dwarf, P = DefaultProvider> !Sync for BoxedSlice<'value, 'dwarf, P>
impl<'value, 'dwarf, P> Unpin for BoxedSlice<'value, 'dwarf, P>
impl<'value, 'dwarf, P> UnwindSafe for BoxedSlice<'value, 'dwarf, P>
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
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 moreSource§impl<T> Reflect for Twhere
T: ?Sized,
impl<T> Reflect for Twhere
T: ?Sized,
Source§fn local_type_id(&self) -> usize
fn local_type_id(&self) -> usize
Produces an ID that uniquely identifies the type within its compilation
unit.