#[repr(u8)]pub enum Tpa {
Z = 0,
A = 10,
B = 11,
B1 = 14,
X = 1,
C = 12,
C1 = 15,
D = 13,
}Expand description
Two port adapter architecture
Each architecture is a nibble in the const generic of Wdf.
Variants§
Z = 0
terminate
A = 10
1 > g > 1/2: a = g - 1
B = 11
1/2 >= g > 0: a = -g
B1 = 14
alternative to B
X = 1
g = 0
C = 12
-1/2 <= g < 0: a = g
C1 = 15
alternative to C
D = 13
-1 < g < -1/2: a = -(1 + g)
Trait Implementations§
Source§impl Ord for Tpa
impl Ord for Tpa
Source§impl PartialOrd for Tpa
impl PartialOrd for Tpa
impl Copy for Tpa
impl Eq for Tpa
impl StructuralPartialEq for Tpa
Auto Trait Implementations§
impl Freeze for Tpa
impl RefUnwindSafe for Tpa
impl Send for Tpa
impl Sync for Tpa
impl Unpin for Tpa
impl UnwindSafe for Tpa
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