pub struct NodePort { /* private fields */ }
Implementations§
Source§impl NodePort
impl NodePort
pub const fn is_graph_output(&self) -> bool
pub const fn is_graph_input(&self) -> bool
pub fn connections(&self) -> &[ConnectionIndex] ⓘ
pub fn name(&self) -> &str
pub const fn detached(&self) -> PortReference
pub const fn direction(&self) -> &PortDirection
Trait Implementations§
Source§impl AsRef<PortReference> for NodePort
impl AsRef<PortReference> for NodePort
Source§fn as_ref(&self) -> &PortReference
fn as_ref(&self) -> &PortReference
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl From<&NodePort> for PortReference
impl From<&NodePort> for PortReference
impl Eq for NodePort
impl StructuralPartialEq for NodePort
Auto Trait Implementations§
impl Freeze for NodePort
impl RefUnwindSafe for NodePort
impl Send for NodePort
impl Sync for NodePort
impl Unpin for NodePort
impl UnwindSafe for NodePort
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