pub struct PadId {
pub node: NodeId,
pub index: u8,
}Expand description
A pad on a node. In an edge’s source position the index selects an output
pad; in the destination position, an input pad. Most 1-in-1-out elements
use index 0 via NodeId: Into<PadId>.
Fields§
§node: NodeId§index: u8Trait Implementations§
impl Copy for PadId
impl Eq for PadId
impl StructuralPartialEq for PadId
Auto Trait Implementations§
impl Freeze for PadId
impl RefUnwindSafe for PadId
impl Send for PadId
impl Sync for PadId
impl Unpin for PadId
impl UnsafeUnpin for PadId
impl UnwindSafe for PadId
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