[−][src]Struct dasp_graph::BoxedNode
A wrapper around a Box<dyn Node>
.
Provides the necessary Sized
implementation to allow for compatibility with the graph process
function.
Implementations
impl BoxedNode
[src]
pub fn new<T>(node: T) -> Self where
T: 'static + Node,
[src]
T: 'static + Node,
Create a new BoxedNode
around the given node
.
This is short-hand for BoxedNode::from(Box::new(node))
.
Methods from Deref<Target = Box<dyn Node>>
Trait Implementations
impl Debug for BoxedNode
[src]
impl Deref for BoxedNode
[src]
type Target = Box<dyn Node>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for BoxedNode
[src]
impl<T> From<Box<T>> for BoxedNode where
T: 'static + Node,
[src]
T: 'static + Node,
impl Into<Box<dyn Node + 'static>> for BoxedNode
[src]
impl Node for BoxedNode
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BoxedNode
impl !Send for BoxedNode
impl !Sync for BoxedNode
impl Unpin for BoxedNode
impl !UnwindSafe for BoxedNode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
T: FromSample<S> + ToSample<S>,
impl<T> From<T> for T
[src]
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
U: FromSample<T>,
fn to_sample_(self) -> U
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,