pub struct IOPinWithRole<Group, Role: Role> {
pub pin: IOPin,
/* private fields */
}Expand description
Represents a TSC I/O pin with associated group and role information.
This type combines an tsc::IOPin with phantom type parameters to statically
encode the pin’s group and role. This allows for type-safe operations
on TSC pins within their specific contexts.
Group: A type parameter representing the TSC group (e.g.,G1,G2).Role: A type parameter representing the pin’s role (e.g.,Channel,Sample).
Fields§
§pin: IOPinThe underlying TSC I/O pin.
Trait Implementations§
impl<Group: Copy, Role: Copy + Role> Copy for IOPinWithRole<Group, Role>
Auto Trait Implementations§
impl<Group, Role> Forget for IOPinWithRole<Group, Role>
impl<Group, Role> Freeze for IOPinWithRole<Group, Role>
impl<Group, Role> Move for IOPinWithRole<Group, Role>
impl<Group, Role> RefUnwindSafe for IOPinWithRole<Group, Role>
impl<Group, Role> Send for IOPinWithRole<Group, Role>
impl<Group, Role> Sync for IOPinWithRole<Group, Role>
impl<Group, Role> Unpin for IOPinWithRole<Group, Role>
impl<Group, Role> UnsafeUnpin for IOPinWithRole<Group, Role>
impl<Group, Role> UnwindSafe for IOPinWithRole<Group, Role>
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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