Struct async_mp4::types::padded_byte::PaddedByte
source · Trait Implementations§
source§impl<const N: usize, const V: usize> AsPrimitive<PaddedByte<N, V>> for u8
impl<const N: usize, const V: usize> AsPrimitive<PaddedByte<N, V>> for u8
source§fn as_(self) -> PaddedByte<N, V>
fn as_(self) -> PaddedByte<N, V>
Convert a value to another, using the
as
operator.source§impl<const N: usize, const V: usize> AsPrimitive<PaddedByte<N, V>> for usize
impl<const N: usize, const V: usize> AsPrimitive<PaddedByte<N, V>> for usize
source§fn as_(self) -> PaddedByte<N, V>
fn as_(self) -> PaddedByte<N, V>
Convert a value to another, using the
as
operator.source§impl<const N: usize, const V: usize> AsPrimitive<u8> for PaddedByte<N, V>
impl<const N: usize, const V: usize> AsPrimitive<u8> for PaddedByte<N, V>
source§impl<const N: usize, const V: usize> AsPrimitive<usize> for PaddedByte<N, V>
impl<const N: usize, const V: usize> AsPrimitive<usize> for PaddedByte<N, V>
source§impl<const N: usize, const V: usize> Clone for PaddedByte<N, V>
impl<const N: usize, const V: usize> Clone for PaddedByte<N, V>
source§fn clone(&self) -> PaddedByte<N, V>
fn clone(&self) -> PaddedByte<N, V>
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<const N: usize, const V: usize> From<PaddedByte<N, V>> for u8
impl<const N: usize, const V: usize> From<PaddedByte<N, V>> for u8
source§fn from(value: PaddedByte<N, V>) -> Self
fn from(value: PaddedByte<N, V>) -> Self
Converts to this type from the input type.
source§impl<const N: usize, const V: usize> Mp4Readable for PaddedByte<N, V>
impl<const N: usize, const V: usize> Mp4Readable for PaddedByte<N, V>
source§impl<const N: usize, const V: usize> Mp4Writable for PaddedByte<N, V>
impl<const N: usize, const V: usize> Mp4Writable for PaddedByte<N, V>
source§impl<const N: usize, const V: usize> PartialEq<PaddedByte<N, V>> for PaddedByte<N, V>
impl<const N: usize, const V: usize> PartialEq<PaddedByte<N, V>> for PaddedByte<N, V>
source§fn eq(&self, other: &PaddedByte<N, V>) -> bool
fn eq(&self, other: &PaddedByte<N, V>) -> bool
impl<const N: usize, const V: usize> Copy for PaddedByte<N, V>
impl<const N: usize, const V: usize> Eq for PaddedByte<N, V>
impl<const N: usize, const V: usize> StructuralEq for PaddedByte<N, V>
impl<const N: usize, const V: usize> StructuralPartialEq for PaddedByte<N, V>
Auto Trait Implementations§
impl<const N: usize, const V: usize> RefUnwindSafe for PaddedByte<N, V>
impl<const N: usize, const V: usize> Send for PaddedByte<N, V>
impl<const N: usize, const V: usize> Sync for PaddedByte<N, V>
impl<const N: usize, const V: usize> Unpin for PaddedByte<N, V>
impl<const N: usize, const V: usize> UnwindSafe for PaddedByte<N, V>
Blanket Implementations§
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<F, T> Mp4VersionedReadable<F> for Twhere
F: FlagTrait,
T: Mp4Readable,
impl<F, T> Mp4VersionedReadable<F> for Twhere
F: FlagTrait,
T: Mp4Readable,
source§impl<F, T> Mp4VersionedWritable<F> for Twhere
F: FlagTrait,
T: Mp4Writable + Send + Sync,
impl<F, T> Mp4VersionedWritable<F> for Twhere
F: FlagTrait,
T: Mp4Writable + Send + Sync,
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.