Struct rgb::schema::TransitionSchema
source · pub struct TransitionSchema {
pub metadata: SemId,
pub globals: GlobalSchema,
pub inputs: TinyOrdMap<AssignmentType, Occurrences>,
pub assignments: AssignmentsSchema,
pub valencies: ValencySchema,
}
Fields§
§metadata: SemId
§globals: GlobalSchema
§inputs: TinyOrdMap<AssignmentType, Occurrences>
§assignments: AssignmentsSchema
§valencies: ValencySchema
Trait Implementations§
source§impl Clone for TransitionSchema
impl Clone for TransitionSchema
source§fn clone(&self) -> TransitionSchema
fn clone(&self) -> TransitionSchema
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 TransitionSchema
impl Debug for TransitionSchema
source§impl Default for TransitionSchema
impl Default for TransitionSchema
source§fn default() -> TransitionSchema
fn default() -> TransitionSchema
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransitionSchema
impl<'de> Deserialize<'de> for TransitionSchema
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 OpSchema for TransitionSchema
impl OpSchema for TransitionSchema
fn op_type(&self) -> OpType
fn metadata(&self) -> SemId
fn globals(&self) -> &GlobalSchema
fn inputs(&self) -> Option<&AssignmentsSchema>
fn redeems(&self) -> Option<&ValencySchema>
fn assignments(&self) -> &AssignmentsSchema
fn valencies(&self) -> &ValencySchema
source§impl PartialEq for TransitionSchema
impl PartialEq for TransitionSchema
source§fn eq(&self, other: &TransitionSchema) -> bool
fn eq(&self, other: &TransitionSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransitionSchema
impl Serialize for TransitionSchema
source§impl StrictDecode for TransitionSchema
impl StrictDecode for TransitionSchema
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictEncode for TransitionSchema
impl StrictEncode for TransitionSchema
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 TransitionSchema
impl StrictStruct for TransitionSchema
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for TransitionSchema
impl StrictType for TransitionSchema
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
impl Eq for TransitionSchema
impl StrictProduct for TransitionSchema
impl StructuralEq for TransitionSchema
impl StructuralPartialEq for TransitionSchema
Auto Trait Implementations§
impl RefUnwindSafe for TransitionSchema
impl Send for TransitionSchema
impl Sync for TransitionSchema
impl Unpin for TransitionSchema
impl UnwindSafe for TransitionSchema
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.