pub struct Terminal { /* private fields */ }Expand description
A component terminal represented as a component pin reference.
Implementations§
Source§impl Terminal
impl Terminal
Sourcepub const fn from_pin_ref(pin_ref: PinRef) -> Self
pub const fn from_pin_ref(pin_ref: PinRef) -> Self
Creates a terminal from a pin reference.
Sourcepub const fn new(component: ReferenceDesignator, pin: PinIdentifier) -> Self
pub const fn new(component: ReferenceDesignator, pin: PinIdentifier) -> Self
Creates a terminal from a component and pin identifier.
Trait Implementations§
Source§impl Ord for Terminal
impl Ord for Terminal
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Terminal
impl PartialOrd for Terminal
impl Eq for Terminal
impl StructuralPartialEq for Terminal
Auto Trait Implementations§
impl Freeze for Terminal
impl RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl UnsafeUnpin for Terminal
impl UnwindSafe for Terminal
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