pub struct Parts<STATE> {
pub handle: Handle<STATE>,
pub movable_functions: MovableFunctions,
pub fixed_functions: FixedFunctions,
}Expand description
The main API for the switch matrix (SWM)
Provides access to all types that make up the SWM API. You gain access to
this struct by calling SWM::split.
Please refer to the module documentation for more information.
Fields§
§handle: Handle<STATE>Handle to the switch matrix
movable_functions: MovableFunctionsMovable functions
fixed_functions: FixedFunctionsFixed functions
Auto Trait Implementations§
impl<STATE> Freeze for Parts<STATE>
impl<STATE> RefUnwindSafe for Parts<STATE>where
STATE: RefUnwindSafe,
impl<STATE> Send for Parts<STATE>where
STATE: Send,
impl<STATE> !Sync for Parts<STATE>
impl<STATE> Unpin for Parts<STATE>where
STATE: Unpin,
impl<STATE> UnwindSafe for Parts<STATE>where
STATE: UnwindSafe,
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