pub struct Generic(/* private fields */);Expand description
Implementations§
Source§impl Generic
impl Generic
Sourcepub fn as_motor_group(&self) -> &MotorGroup
pub fn as_motor_group(&self) -> &MotorGroup
Borrowed view of the inner group for read-only access.
Sourcepub fn as_motor_group_mut(&mut self) -> &mut MotorGroup
pub fn as_motor_group_mut(&mut self) -> &mut MotorGroup
Borrow mutably.
Sourcepub fn inner(&self) -> &MotorGroup
pub fn inner(&self) -> &MotorGroup
Borrow the underlying MotorGroup.
Sourcepub fn inner_mut(&mut self) -> &mut MotorGroup
pub fn inner_mut(&mut self) -> &mut MotorGroup
Borrow the underlying MotorGroup mutably.
Auto Trait Implementations§
impl Freeze for Generic
impl RefUnwindSafe for Generic
impl Send for Generic
impl Sync for Generic
impl Unpin for Generic
impl UnsafeUnpin for Generic
impl UnwindSafe for Generic
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