Enum rgbstd::interface::OwnedIface
source · pub enum OwnedIface {
Any,
Rights,
Amount,
AnyData,
AnyAttach,
Data(SemId),
}
Variants§
Trait Implementations§
source§impl Clone for OwnedIface
impl Clone for OwnedIface
source§fn clone(&self) -> OwnedIface
fn clone(&self) -> OwnedIface
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 OwnedIface
impl Debug for OwnedIface
source§impl<'de> Deserialize<'de> for OwnedIface
impl<'de> Deserialize<'de> for OwnedIface
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 OwnedIface
impl Hash for OwnedIface
source§impl Ord for OwnedIface
impl Ord for OwnedIface
source§fn cmp(&self, other: &OwnedIface) -> Ordering
fn cmp(&self, other: &OwnedIface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OwnedIface> for OwnedIface
impl PartialEq<OwnedIface> for OwnedIface
source§fn eq(&self, other: &OwnedIface) -> bool
fn eq(&self, other: &OwnedIface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OwnedIface> for OwnedIface
impl PartialOrd<OwnedIface> for OwnedIface
source§fn partial_cmp(&self, other: &OwnedIface) -> Option<Ordering>
fn partial_cmp(&self, other: &OwnedIface) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for OwnedIface
impl Serialize for OwnedIface
source§impl StrictDecode for OwnedIface
impl StrictDecode for OwnedIface
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 OwnedIface
impl StrictDumb for OwnedIface
fn strict_dumb() -> Self
source§impl StrictEncode for OwnedIface
impl StrictEncode for OwnedIface
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
source§impl StrictSum for OwnedIface
impl StrictSum for OwnedIface
const ALL_VARIANTS: &'static [(u8, &'static str)] = _
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<FieldName>
fn variant_ord(&self) -> u8
source§impl StrictType for OwnedIface
impl StrictType for OwnedIface
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
source§impl StrictUnion for OwnedIface
impl StrictUnion for OwnedIface
fn strict_type_info() -> TypeInfo<Self>
impl Copy for OwnedIface
impl Eq for OwnedIface
impl StructuralEq for OwnedIface
impl StructuralPartialEq for OwnedIface
Auto Trait Implementations§
impl RefUnwindSafe for OwnedIface
impl Send for OwnedIface
impl Sync for OwnedIface
impl Unpin for OwnedIface
impl UnwindSafe for OwnedIface
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<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.