#[repr(u8)]pub enum HubType {
Unknown = 0,
Wedo2SmartHub = 1,
MoveHub = 2,
Hub = 3,
RemoteControl = 4,
DuploTrainBase = 5,
TechnicMediumHub = 6,
Mario = 7,
}Expand description
@typedef HubType
@property {number} UNKNOWN 0
@property {number} WEDO2_SMART_HUB 1
@property {number} MOVE_HUB 2
@property {number} POWERED_UP_HUB 3
@property {number} POWERED_UP_REMOTE 4
@property {number} DUPLO_TRAIN_HUB 5
@property {number} CONTROL_PLUS_HUB 6
@property {number} MARIO 7Variants§
Unknown = 0
Wedo2SmartHub = 1
MoveHub = 2
Hub = 3
RemoteControl = 4
DuploTrainBase = 5
TechnicMediumHub = 6
Mario = 7
Trait Implementations§
impl Copy for HubType
impl Eq for HubType
impl StructuralPartialEq for HubType
Auto Trait Implementations§
impl Freeze for HubType
impl RefUnwindSafe for HubType
impl Send for HubType
impl Sync for HubType
impl Unpin for HubType
impl UnsafeUnpin for HubType
impl UnwindSafe for HubType
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