Struct rgb::schema::GlobalStateSchema
source · pub struct GlobalStateSchema {
pub sem_id: SemId,
pub max_items: u16,
}
Fields§
§sem_id: SemId
§max_items: u16
Implementations§
Trait Implementations§
source§impl Clone for GlobalStateSchema
impl Clone for GlobalStateSchema
source§fn clone(&self) -> GlobalStateSchema
fn clone(&self) -> GlobalStateSchema
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 GlobalStateSchema
impl Debug for GlobalStateSchema
source§impl<'de> Deserialize<'de> for GlobalStateSchema
impl<'de> Deserialize<'de> for GlobalStateSchema
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 GlobalStateSchema
impl Hash for GlobalStateSchema
source§impl PartialEq for GlobalStateSchema
impl PartialEq for GlobalStateSchema
source§fn eq(&self, other: &GlobalStateSchema) -> bool
fn eq(&self, other: &GlobalStateSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GlobalStateSchema
impl Serialize for GlobalStateSchema
source§impl StrictDecode for GlobalStateSchema
impl StrictDecode for GlobalStateSchema
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 GlobalStateSchema
impl StrictDumb for GlobalStateSchema
fn strict_dumb() -> Self
source§impl StrictEncode for GlobalStateSchema
impl StrictEncode for GlobalStateSchema
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 GlobalStateSchema
impl StrictStruct for GlobalStateSchema
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for GlobalStateSchema
impl StrictType for GlobalStateSchema
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
impl Eq for GlobalStateSchema
impl StrictProduct for GlobalStateSchema
impl StructuralEq for GlobalStateSchema
impl StructuralPartialEq for GlobalStateSchema
Auto Trait Implementations§
impl RefUnwindSafe for GlobalStateSchema
impl Send for GlobalStateSchema
impl Sync for GlobalStateSchema
impl Unpin for GlobalStateSchema
impl UnwindSafe for GlobalStateSchema
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.