pub struct ValencyIface {
pub required: bool,
pub multiple: bool,
}
Fields§
§required: bool
§multiple: bool
Trait Implementations§
Source§impl Clone for ValencyIface
impl Clone for ValencyIface
Source§fn clone(&self) -> ValencyIface
fn clone(&self) -> ValencyIface
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 ValencyIface
impl Debug for ValencyIface
Source§impl<'de> Deserialize<'de> for ValencyIface
impl<'de> Deserialize<'de> for ValencyIface
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 ValencyIface
impl Hash for ValencyIface
Source§impl PartialEq for ValencyIface
impl PartialEq for ValencyIface
Source§impl Serialize for ValencyIface
impl Serialize for ValencyIface
Source§impl StrictDecode for ValencyIface
impl StrictDecode for ValencyIface
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 ValencyIface
impl StrictDumb for ValencyIface
fn strict_dumb() -> Self
Source§impl StrictEncode for ValencyIface
impl StrictEncode for ValencyIface
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 ValencyIface
impl StrictStruct for ValencyIface
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for ValencyIface
impl StrictType for ValencyIface
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
impl Eq for ValencyIface
impl StrictProduct for ValencyIface
impl StructuralPartialEq for ValencyIface
Auto Trait Implementations§
impl Freeze for ValencyIface
impl RefUnwindSafe for ValencyIface
impl Send for ValencyIface
impl Sync for ValencyIface
impl Unpin for ValencyIface
impl UnwindSafe for ValencyIface
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> 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.