pub enum AnimCommand {
Crossfade {
req: CrossfadeRequest,
reply: SyncSender<Result<(), String>>,
},
SetParam {
req: SetParamRequest,
reply: SyncSender<Result<(), String>>,
},
QueryState {
target: AssetId,
reply: SyncSender<Result<GraphStateReport, String>>,
},
}Expand description
One runtime command pushed onto enqueue by the debug WS server and
drained by AnimationSystem::apply_runtime_commands.
Variants§
Crossfade
Crossfade a target’s clip weights.
Fields
§
req: CrossfadeRequestThe requested crossfade.
§
reply: SyncSender<Result<(), String>>Where the outcome is sent.
SetParam
Write one graph parameter.
Fields
§
req: SetParamRequestThe requested write.
§
reply: SyncSender<Result<(), String>>Where the outcome is sent.
QueryState
Report a target’s live graph state.
Fields
§
reply: SyncSender<Result<GraphStateReport, String>>Where the report is sent.
Auto Trait Implementations§
impl Freeze for AnimCommand
impl RefUnwindSafe for AnimCommand
impl Send for AnimCommand
impl Sync for AnimCommand
impl Unpin for AnimCommand
impl UnsafeUnpin for AnimCommand
impl UnwindSafe for AnimCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more