pub struct RootedTraceableBox<T: JSTraceable + 'static>(RootedTraceableBox<T>);
Expand description
Roots any JSTraceable thing
If you have a valid DomObject, use DomRoot. If you have GC things like *mut JSObject or JSVal, use rooted!. If you have an arbitrary number of DomObjects to root, use rooted_vec!. If you know what you’re doing, use this.
Tuple Fields§
§0: RootedTraceableBox<T>
Implementations§
source§impl<T: JSTraceable + 'static> RootedTraceableBox<T>
impl<T: JSTraceable + 'static> RootedTraceableBox<T>
sourcepub fn new(traceable: T) -> RootedTraceableBox<T>
pub fn new(traceable: T) -> RootedTraceableBox<T>
DomRoot a JSTraceable thing for the life of this RootedTraceableBox
sourcepub fn from_box(boxed_traceable: Box<T>) -> RootedTraceableBox<T>
pub fn from_box(boxed_traceable: Box<T>) -> RootedTraceableBox<T>
Consumes a boxed JSTraceable and roots it for the life of this RootedTraceableBox.
Trait Implementations§
source§impl<T: JSTraceable + Default> Default for RootedTraceableBox<T>
impl<T: JSTraceable + Default> Default for RootedTraceableBox<T>
source§fn default() -> RootedTraceableBox<T>
fn default() -> RootedTraceableBox<T>
Returns the “default value” for a type. Read more
source§impl<T: JSTraceable> Deref for RootedTraceableBox<T>
impl<T: JSTraceable> Deref for RootedTraceableBox<T>
source§impl<T: JSTraceable> DerefMut for RootedTraceableBox<T>
impl<T: JSTraceable> DerefMut for RootedTraceableBox<T>
source§impl From<RootedTraceableBox<AesCbcParams>> for SubtleAesCbcParams
impl From<RootedTraceableBox<AesCbcParams>> for SubtleAesCbcParams
source§fn from(params: RootedTraceableBox<AesCbcParams>) -> Self
fn from(params: RootedTraceableBox<AesCbcParams>) -> Self
Converts to this type from the input type.
source§impl From<RootedTraceableBox<AesCtrParams>> for SubtleAesCtrParams
impl From<RootedTraceableBox<AesCtrParams>> for SubtleAesCtrParams
source§fn from(params: RootedTraceableBox<AesCtrParams>) -> Self
fn from(params: RootedTraceableBox<AesCtrParams>) -> Self
Converts to this type from the input type.
source§impl From<RootedTraceableBox<AesGcmParams>> for SubtleAesGcmParams
impl From<RootedTraceableBox<AesGcmParams>> for SubtleAesGcmParams
source§fn from(params: RootedTraceableBox<AesGcmParams>) -> Self
fn from(params: RootedTraceableBox<AesGcmParams>) -> Self
Converts to this type from the input type.
source§impl FromJSValConvertible for RootedTraceableBox<AesCbcParams>
impl FromJSValConvertible for RootedTraceableBox<AesCbcParams>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<AesCbcParams>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<AesCbcParams>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<AesCtrParams>
impl FromJSValConvertible for RootedTraceableBox<AesCtrParams>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<AesCtrParams>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<AesCtrParams>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<AesGcmParams>
impl FromJSValConvertible for RootedTraceableBox<AesGcmParams>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<AesGcmParams>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<AesGcmParams>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<BluetoothDataFilterInit>
impl FromJSValConvertible for RootedTraceableBox<BluetoothDataFilterInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<BluetoothDataFilterInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<BluetoothDataFilterInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<CustomEventInit>
impl FromJSValConvertible for RootedTraceableBox<CustomEventInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<CustomEventInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<CustomEventInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<ErrorEventInit>
impl FromJSValConvertible for RootedTraceableBox<ErrorEventInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<ErrorEventInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<ErrorEventInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<ExtendableMessageEventInit>
impl FromJSValConvertible for RootedTraceableBox<ExtendableMessageEventInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<ExtendableMessageEventInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<ExtendableMessageEventInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<GPUShaderModuleDescriptor>
impl FromJSValConvertible for RootedTraceableBox<GPUShaderModuleDescriptor>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<GPUShaderModuleDescriptor>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<GPUShaderModuleDescriptor>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl<T> FromJSValConvertible for RootedTraceableBox<Heap<T>>
impl<T> FromJSValConvertible for RootedTraceableBox<Heap<T>>
§type Config = <T as FromJSValConvertible>::Config
type Config = <T as FromJSValConvertible>::Config
Optional configurable behaviour switch; use () for no configuration.
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
config: Self::Config,
) -> Result<ConversionResult<Self>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, config: Self::Config, ) -> Result<ConversionResult<Self>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<HkdfParams>
impl FromJSValConvertible for RootedTraceableBox<HkdfParams>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<HkdfParams>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<HkdfParams>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<HmacImportParams>
impl FromJSValConvertible for RootedTraceableBox<HmacImportParams>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<HmacImportParams>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<HmacImportParams>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<HmacKeyGenParams>
impl FromJSValConvertible for RootedTraceableBox<HmacKeyGenParams>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<HmacKeyGenParams>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<HmacKeyGenParams>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<IterableKeyAndValueResult>
impl FromJSValConvertible for RootedTraceableBox<IterableKeyAndValueResult>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<IterableKeyAndValueResult>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<IterableKeyAndValueResult>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<IterableKeyOrValueResult>
impl FromJSValConvertible for RootedTraceableBox<IterableKeyOrValueResult>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<IterableKeyOrValueResult>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<IterableKeyOrValueResult>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<MessageEventInit>
impl FromJSValConvertible for RootedTraceableBox<MessageEventInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<MessageEventInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<MessageEventInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<Pbkdf2Params>
impl FromJSValConvertible for RootedTraceableBox<Pbkdf2Params>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<Pbkdf2Params>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<Pbkdf2Params>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<PopStateEventInit>
impl FromJSValConvertible for RootedTraceableBox<PopStateEventInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<PopStateEventInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<PopStateEventInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<PromiseRejectionEventInit>
impl FromJSValConvertible for RootedTraceableBox<PromiseRejectionEventInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<PromiseRejectionEventInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<PromiseRejectionEventInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<RequestInit>
impl FromJSValConvertible for RootedTraceableBox<RequestInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<RequestInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<RequestInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<StructuredSerializeOptions>
impl FromJSValConvertible for RootedTraceableBox<StructuredSerializeOptions>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<StructuredSerializeOptions>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<StructuredSerializeOptions>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<TestDictionary>
impl FromJSValConvertible for RootedTraceableBox<TestDictionary>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<TestDictionary>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<TestDictionary>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<TestDictionaryDefaults>
impl FromJSValConvertible for RootedTraceableBox<TestDictionaryDefaults>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<TestDictionaryDefaults>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<TestDictionaryDefaults>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<WindowPostMessageOptions>
impl FromJSValConvertible for RootedTraceableBox<WindowPostMessageOptions>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<WindowPostMessageOptions>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<WindowPostMessageOptions>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl FromJSValConvertible for RootedTraceableBox<XRSessionInit>
impl FromJSValConvertible for RootedTraceableBox<XRSessionInit>
source§unsafe fn from_jsval(
cx: *mut JSContext,
value: HandleValue<'_>,
_option: (),
) -> Result<ConversionResult<RootedTraceableBox<XRSessionInit>>, ()>
unsafe fn from_jsval( cx: *mut JSContext, value: HandleValue<'_>, _option: (), ) -> Result<ConversionResult<RootedTraceableBox<XRSessionInit>>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl<T: JSTraceable + MallocSizeOf> MallocSizeOf for RootedTraceableBox<T>
impl<T: JSTraceable + MallocSizeOf> MallocSizeOf for RootedTraceableBox<T>
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl<T: ToJSValConvertible + JSTraceable> ToJSValConvertible for RootedTraceableBox<T>
impl<T: ToJSValConvertible + JSTraceable> ToJSValConvertible for RootedTraceableBox<T>
source§impl<T: JSTraceable + 'static> Traceable for RootedTraceableBox<T>
impl<T: JSTraceable + 'static> Traceable for RootedTraceableBox<T>
Auto Trait Implementations§
impl<T> Freeze for RootedTraceableBox<T>
impl<T> RefUnwindSafe for RootedTraceableBox<T>where
T: RefUnwindSafe,
impl<T> !Send for RootedTraceableBox<T>
impl<T> !Sync for RootedTraceableBox<T>
impl<T> Unpin for RootedTraceableBox<T>
impl<T> UnwindSafe for RootedTraceableBox<T>where
T: RefUnwindSafe,
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> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.