pub struct IfacePair {
pub iface: Iface,
pub iimpl: IfaceImpl,
}
Fields§
§iface: Iface
§iimpl: IfaceImpl
Implementations§
Source§impl IfacePair
impl IfacePair
pub fn with(iface: Iface, iimpl: IfaceImpl) -> IfacePair
pub fn iface_id(&self) -> IfaceId
pub fn impl_id(&self) -> ImplId
pub fn global_type(&self, name: &FieldName) -> Option<GlobalStateType>
pub fn assignments_type(&self, name: &FieldName) -> Option<AssignmentType>
pub fn transition_type(&self, name: &TypeName) -> Option<TransitionType>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IfacePair
impl<'de> Deserialize<'de> for IfacePair
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 StrictDecode for IfacePair
impl StrictDecode for IfacePair
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 IfacePair
impl StrictDumb for IfacePair
fn strict_dumb() -> Self
Source§impl StrictEncode for IfacePair
impl StrictEncode for IfacePair
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 IfacePair
impl StrictStruct for IfacePair
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for IfacePair
impl StrictType for IfacePair
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
impl Eq for IfacePair
impl StrictProduct for IfacePair
impl StructuralPartialEq for IfacePair
Auto Trait Implementations§
impl Freeze for IfacePair
impl RefUnwindSafe for IfacePair
impl Send for IfacePair
impl Sync for IfacePair
impl Unpin for IfacePair
impl UnwindSafe for IfacePair
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.