pub struct RegisterType {
pub name: String,
pub type_ref: String,
}Expand description
<register_type name="…" type_ref="…"/> (§7.3.4.4.4).
type_ref refers to an XTypes type definition from the
types building block (Cluster H — separate C7.D task).
Fields§
§name: StringName under which the type is registered.
type_ref: StringReference to a <type> definition (module::TypeName).
Trait Implementations§
Source§impl Clone for RegisterType
impl Clone for RegisterType
Source§fn clone(&self) -> RegisterType
fn clone(&self) -> RegisterType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegisterType
impl Debug for RegisterType
Source§impl Default for RegisterType
impl Default for RegisterType
Source§fn default() -> RegisterType
fn default() -> RegisterType
Returns the “default value” for a type. Read more
impl Eq for RegisterType
Source§impl PartialEq for RegisterType
impl PartialEq for RegisterType
Source§fn eq(&self, other: &RegisterType) -> bool
fn eq(&self, other: &RegisterType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisterType
Auto Trait Implementations§
impl Freeze for RegisterType
impl RefUnwindSafe for RegisterType
impl Send for RegisterType
impl Sync for RegisterType
impl Unpin for RegisterType
impl UnsafeUnpin for RegisterType
impl UnwindSafe for RegisterType
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