pub struct ShaderEdge {
pub id: EdgeId,
pub from_node: NodeId,
pub from_slot: u8,
pub to_node: NodeId,
pub to_slot: u8,
}Expand description
A directed connection from one node’s output socket to another’s input.
Fields§
§id: EdgeId§from_node: NodeId§from_slot: u8§to_node: NodeId§to_slot: u8Trait Implementations§
Source§impl Clone for ShaderEdge
impl Clone for ShaderEdge
Source§fn clone(&self) -> ShaderEdge
fn clone(&self) -> ShaderEdge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ShaderEdge
impl RefUnwindSafe for ShaderEdge
impl Send for ShaderEdge
impl Sync for ShaderEdge
impl Unpin for ShaderEdge
impl UnsafeUnpin for ShaderEdge
impl UnwindSafe for ShaderEdge
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