pub struct GraphResource {
pub name: String,
pub kind: String,
pub capacity: usize,
}Expand description
A named resource (tape loop) shared between nodes in the graph.
Fields§
§name: StringUnique name referenced by node parameters.
kind: StringResource kind string ("tape").
capacity: usizeCapacity in samples (for "tape" kind).
Trait Implementations§
Source§impl Clone for GraphResource
impl Clone for GraphResource
Source§fn clone(&self) -> GraphResource
fn clone(&self) -> GraphResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GraphResource
impl RefUnwindSafe for GraphResource
impl Send for GraphResource
impl Sync for GraphResource
impl Unpin for GraphResource
impl UnsafeUnpin for GraphResource
impl UnwindSafe for GraphResource
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