pub enum ControllerId {
Master,
Partner,
}Expand description
Represents the two types of controller.
Variants§
Trait Implementations§
Source§impl From<ControllerId> for c_uint
impl From<ControllerId> for c_uint
Source§fn from(id: ControllerId) -> Self
fn from(id: ControllerId) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ControllerId
impl RefUnwindSafe for ControllerId
impl Send for ControllerId
impl Sync for ControllerId
impl Unpin for ControllerId
impl UnwindSafe for ControllerId
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