Struct nannou::ui::prelude::widget::graph::EdgeWidget [−][src]
pub struct EdgeWidget<'a, NI, W> where
NI: 'a + NodeId, { /* fields omitted */ }
Expand description
Returned when an Edge
is assigned a widget.
This intermediary type allows for accessing the widget::Id
before the widget itself is
instantiated.
Implementations
Retrieve the widget::Id
that will be used to instantiate this edge’s widget.
Apply the given function to the inner widget.
Auto Trait Implementations
impl<'a, NI, W> !RefUnwindSafe for EdgeWidget<'a, NI, W>
impl<'a, NI, W> Send for EdgeWidget<'a, NI, W> where
W: Send,
impl<'a, NI, W> !Sync for EdgeWidget<'a, NI, W>
impl<'a, NI, W> Unpin for EdgeWidget<'a, NI, W> where
NI: Unpin,
W: Unpin,
impl<'a, NI, W> UnwindSafe for EdgeWidget<'a, NI, W> where
NI: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
pub fn vzip(self) -> V