#[repr(C)]pub struct DictionaryRef {
pub token: Handle,
}
Fields§
§token: Handle
Trait Implementations§
Source§impl Debug for DictionaryRef
impl Debug for DictionaryRef
Source§impl Encodable for DictionaryRef
impl Encodable for DictionaryRef
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, WireDictionaryRef>
const COPY_OPTIMIZATION: CopyOptimization<Self, WireDictionaryRef>
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§type Encoded = WireDictionaryRef
type Encoded = WireDictionaryRef
The wire type for the value.
Source§impl EncodableOption for DictionaryRef
impl EncodableOption for DictionaryRef
Source§type EncodedOption = WireBox<'static, WireDictionaryRef>
type EncodedOption = WireBox<'static, WireDictionaryRef>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DictionaryRefwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DictionaryRefwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for DictionaryRefwhere
___E: Encoder + ?Sized,
DictionaryRef: Encode<___E>,
impl<___E> EncodeOption<___E> for DictionaryRefwhere
___E: Encoder + ?Sized,
DictionaryRef: Encode<___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<WireDictionaryRef> for DictionaryRef
impl FromWire<WireDictionaryRef> for DictionaryRef
Source§const COPY_OPTIMIZATION: CopyOptimization<WireDictionaryRef, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireDictionaryRef, Self>
Source§fn from_wire(wire: WireDictionaryRef) -> Self
fn from_wire(wire: WireDictionaryRef) -> Self
Converts the given
wire
to this type.Auto Trait Implementations§
impl Freeze for DictionaryRef
impl RefUnwindSafe for DictionaryRef
impl Send for DictionaryRef
impl Sync for DictionaryRef
impl Unpin for DictionaryRef
impl UnwindSafe for DictionaryRef
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.