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: bool
Implementations§
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 for AssignIface
impl PartialEq for AssignIface
Source§impl PartialOrd for AssignIface
impl PartialOrd for AssignIface
Source§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 StructuralPartialEq for AssignIface
Auto Trait Implementations§
impl Freeze for AssignIface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.