pub struct StandardComponent {
pub name: &'static str,
pub kind: ComponentKind,
pub variables: &'static [StandardVariable],
}Expand description
One standardized component.
Fields§
§name: &'static strThe component name.
kind: ComponentKindLogical or physical.
variables: &'static [StandardVariable]The variables typically associated with it.
Trait Implementations§
Source§impl Clone for StandardComponent
impl Clone for StandardComponent
Source§fn clone(&self) -> StandardComponent
fn clone(&self) -> StandardComponent
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 moreimpl Copy for StandardComponent
Source§impl Debug for StandardComponent
impl Debug for StandardComponent
impl Eq for StandardComponent
Source§impl PartialEq for StandardComponent
impl PartialEq for StandardComponent
impl StructuralPartialEq for StandardComponent
Auto Trait Implementations§
impl Freeze for StandardComponent
impl RefUnwindSafe for StandardComponent
impl Send for StandardComponent
impl Sync for StandardComponent
impl Unpin for StandardComponent
impl UnsafeUnpin for StandardComponent
impl UnwindSafe for StandardComponent
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