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
impl 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 Forget for StandardComponent
impl Freeze for StandardComponent
impl Move 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