pub struct TypeSpec {
pub name: &'static str,
pub message_type: Option<&'static str>,
pub properties: &'static [Property],
}Expand description
One S2 object type.
Fields§
§name: &'static strThe schema file’s name: FRBC.Instruction, NumberRange.
message_type: Option<&'static str>The message_type constant, for the 36 types that are messages.
properties: &'static [Property]Its properties, in schema order.
Implementations§
Trait Implementations§
impl Copy for TypeSpec
impl Eq for TypeSpec
impl StructuralPartialEq for TypeSpec
Auto Trait Implementations§
impl Forget for TypeSpec
impl Freeze for TypeSpec
impl RefUnwindSafe for TypeSpec
impl Send for TypeSpec
impl Sync for TypeSpec
impl Unpin for TypeSpec
impl UnsafeUnpin for TypeSpec
impl UnwindSafe for TypeSpec
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.