Struct rgbstd::interface::AssignIface  
source · pub struct AssignIface {
    pub owned_state: OwnedIface,
    pub public: bool,
    pub required: bool,
    pub multiple: bool,
}Fields§
§owned_state: OwnedIface§public: bool§required: bool§multiple: boolImplementations§
source§impl AssignIface
 
impl AssignIface
pub fn public(owned_state: OwnedIface, req: Req) -> Self
pub fn private(owned_state: OwnedIface, req: Req) -> Self
Trait Implementations§
source§impl Clone for AssignIface
 
impl Clone for AssignIface
source§fn clone(&self) -> AssignIface
 
fn clone(&self) -> AssignIface
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 AssignIface
 
impl Debug for AssignIface
source§impl<'de> Deserialize<'de> for AssignIface
 
impl<'de> Deserialize<'de> for AssignIface
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 AssignIface
 
impl Hash for AssignIface
source§impl Ord for AssignIface
 
impl Ord for AssignIface
source§fn cmp(&self, other: &AssignIface) -> Ordering
 
fn cmp(&self, other: &AssignIface) -> 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<AssignIface> for AssignIface
 
impl PartialEq<AssignIface> for AssignIface
source§fn eq(&self, other: &AssignIface) -> bool
 
fn eq(&self, other: &AssignIface) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AssignIface> for AssignIface
 
impl PartialOrd<AssignIface> for AssignIface
source§fn partial_cmp(&self, other: &AssignIface) -> Option<Ordering>
 
fn partial_cmp(&self, other: &AssignIface) -> 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 AssignIface
 
impl Serialize for AssignIface
source§impl StrictDecode for AssignIface
 
impl StrictDecode for AssignIface
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 AssignIface
 
impl StrictDumb for AssignIface
fn strict_dumb() -> Self
source§impl StrictEncode for AssignIface
 
impl StrictEncode for AssignIface
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 AssignIface
 
impl StrictStruct for AssignIface
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for AssignIface
 
impl StrictType for AssignIface
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
impl Copy for AssignIface
impl Eq for AssignIface
impl StrictProduct for AssignIface
impl StructuralEq for AssignIface
impl StructuralPartialEq for AssignIface
Auto Trait Implementations§
impl RefUnwindSafe for AssignIface
impl Send for AssignIface
impl Sync for AssignIface
impl Unpin for AssignIface
impl UnwindSafe for AssignIface
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.