Enum binary_sv2::decodable::FieldMarker
source · pub enum FieldMarker {
Primitive(PrimitiveMarker),
Struct(Vec<FieldMarker>),
}Expand description
Passed to a decoder to define the structure of the data to be decoded
Variants§
Primitive(PrimitiveMarker)
Struct(Vec<FieldMarker>)
Trait Implementations§
source§impl Clone for FieldMarker
impl Clone for FieldMarker
source§fn clone(&self) -> FieldMarker
fn clone(&self) -> FieldMarker
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FieldMarker
impl Debug for FieldMarker
source§impl<'a> From<Inner<'a, false, 1, 1, 255>> for FieldMarker
impl<'a> From<Inner<'a, false, 1, 1, 255>> for FieldMarker
source§fn from(_: Inner<'a, false, 1, 1, 255>) -> FieldMarker
fn from(_: Inner<'a, false, 1, 1, 255>) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, false, 1, 1, 32>> for FieldMarker
impl<'a> From<Inner<'a, false, 1, 1, 32>> for FieldMarker
source§fn from(_: Inner<'a, false, 1, 1, 32>) -> FieldMarker
fn from(_: Inner<'a, false, 1, 1, 32>) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, false, 1, 2, binary_codec_sv2::::codec::impls::{impl#102}::{constant#3}>> for FieldMarker
impl<'a> From<Inner<'a, false, 1, 2, binary_codec_sv2::::codec::impls::{impl#102}::{constant#3}>> for FieldMarker
source§fn from(
_: Inner<'a, false, 1, 2, binary_codec_sv2::::codec::impls::{impl#102}::from::{constant#3}>
) -> FieldMarker
fn from( _: Inner<'a, false, 1, 2, binary_codec_sv2::::codec::impls::{impl#102}::from::{constant#3}> ) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, false, 1, 3, binary_codec_sv2::::codec::impls::{impl#103}::{constant#3}>> for FieldMarker
impl<'a> From<Inner<'a, false, 1, 3, binary_codec_sv2::::codec::impls::{impl#103}::{constant#3}>> for FieldMarker
source§fn from(
_: Inner<'a, false, 1, 3, binary_codec_sv2::::codec::impls::{impl#103}::from::{constant#3}>
) -> FieldMarker
fn from( _: Inner<'a, false, 1, 3, binary_codec_sv2::::codec::impls::{impl#103}::from::{constant#3}> ) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, true, 32, 0, 0>> for FieldMarker
impl<'a> From<Inner<'a, true, 32, 0, 0>> for FieldMarker
source§fn from(_: Inner<'a, true, 32, 0, 0>) -> FieldMarker
fn from(_: Inner<'a, true, 32, 0, 0>) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, true, 4, 0, 0>> for FieldMarker
impl<'a> From<Inner<'a, true, 4, 0, 0>> for FieldMarker
source§fn from(_: Inner<'a, true, 4, 0, 0>) -> FieldMarker
fn from(_: Inner<'a, true, 4, 0, 0>) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, true, 6, 0, 0>> for FieldMarker
impl<'a> From<Inner<'a, true, 6, 0, 0>> for FieldMarker
source§fn from(_: Inner<'a, true, 6, 0, 0>) -> FieldMarker
fn from(_: Inner<'a, true, 6, 0, 0>) -> FieldMarker
Converts to this type from the input type.
source§impl<'a> From<Inner<'a, true, 64, 0, 0>> for FieldMarker
impl<'a> From<Inner<'a, true, 64, 0, 0>> for FieldMarker
source§fn from(_: Inner<'a, true, 64, 0, 0>) -> FieldMarker
fn from(_: Inner<'a, true, 64, 0, 0>) -> FieldMarker
Converts to this type from the input type.
source§impl From<PrimitiveMarker> for FieldMarker
impl From<PrimitiveMarker> for FieldMarker
source§fn from(v: PrimitiveMarker) -> FieldMarker
fn from(v: PrimitiveMarker) -> FieldMarker
Converts to this type from the input type.
source§impl From<U24> for FieldMarker
impl From<U24> for FieldMarker
source§fn from(_: U24) -> FieldMarker
fn from(_: U24) -> FieldMarker
Converts to this type from the input type.
source§impl From<bool> for FieldMarker
impl From<bool> for FieldMarker
source§fn from(_: bool) -> FieldMarker
fn from(_: bool) -> FieldMarker
Converts to this type from the input type.
source§impl From<f32> for FieldMarker
impl From<f32> for FieldMarker
source§fn from(_: f32) -> FieldMarker
fn from(_: f32) -> FieldMarker
Converts to this type from the input type.
source§impl From<u16> for FieldMarker
impl From<u16> for FieldMarker
source§fn from(_: u16) -> FieldMarker
fn from(_: u16) -> FieldMarker
Converts to this type from the input type.
source§impl From<u32> for FieldMarker
impl From<u32> for FieldMarker
source§fn from(_: u32) -> FieldMarker
fn from(_: u32) -> FieldMarker
Converts to this type from the input type.
source§impl From<u64> for FieldMarker
impl From<u64> for FieldMarker
source§fn from(_: u64) -> FieldMarker
fn from(_: u64) -> FieldMarker
Converts to this type from the input type.
source§impl From<u8> for FieldMarker
impl From<u8> for FieldMarker
source§fn from(_: u8) -> FieldMarker
fn from(_: u8) -> FieldMarker
Converts to this type from the input type.
source§impl SizeHint for FieldMarker
impl SizeHint for FieldMarker
source§impl TryFrom<Vec<FieldMarker>> for FieldMarker
impl TryFrom<Vec<FieldMarker>> for FieldMarker
Auto Trait Implementations§
impl RefUnwindSafe for FieldMarker
impl Send for FieldMarker
impl Sync for FieldMarker
impl Unpin for FieldMarker
impl UnwindSafe for FieldMarker
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