Struct rgbstd::interface::rgb21::EmbeddedMedia
source · pub struct EmbeddedMedia {
pub ty: MediaType,
pub data: SmallBlob,
}Fields§
§ty: MediaType§data: SmallBlobTrait Implementations§
source§impl Clone for EmbeddedMedia
impl Clone for EmbeddedMedia
source§fn clone(&self) -> EmbeddedMedia
fn clone(&self) -> EmbeddedMedia
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 EmbeddedMedia
impl Debug for EmbeddedMedia
source§impl<'de> Deserialize<'de> for EmbeddedMedia
impl<'de> Deserialize<'de> for EmbeddedMedia
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EmbeddedMedia
impl Hash for EmbeddedMedia
source§impl PartialEq<EmbeddedMedia> for EmbeddedMedia
impl PartialEq<EmbeddedMedia> for EmbeddedMedia
source§fn eq(&self, other: &EmbeddedMedia) -> bool
fn eq(&self, other: &EmbeddedMedia) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EmbeddedMedia
impl Serialize for EmbeddedMedia
source§impl StrictDecode for EmbeddedMedia
impl StrictDecode for EmbeddedMedia
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDumb for EmbeddedMedia
impl StrictDumb for EmbeddedMedia
fn strict_dumb() -> Self
source§impl StrictEncode for EmbeddedMedia
impl StrictEncode for EmbeddedMedia
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
source§impl StrictStruct for EmbeddedMedia
impl StrictStruct for EmbeddedMedia
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for EmbeddedMedia
impl StrictType for EmbeddedMedia
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB21
fn strict_name() -> Option<TypeName>
impl Eq for EmbeddedMedia
impl StrictProduct for EmbeddedMedia
impl StructuralEq for EmbeddedMedia
impl StructuralPartialEq for EmbeddedMedia
Auto Trait Implementations§
impl RefUnwindSafe for EmbeddedMedia
impl Send for EmbeddedMedia
impl Sync for EmbeddedMedia
impl Unpin for EmbeddedMedia
impl UnwindSafe for EmbeddedMedia
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.