struct TargetProgramState {
source: RuntimeTargetAnchor,
destination: Option<RuntimeTargetAnchor>,
}Fields§
§source: RuntimeTargetAnchor§destination: Option<RuntimeTargetAnchor>Implementations§
Source§impl TargetProgramState
impl TargetProgramState
const fn with_destination(destination: Option<SpatialTransform>) -> Self
Trait Implementations§
Source§impl Clone for TargetProgramState
impl Clone for TargetProgramState
Source§fn clone(&self) -> TargetProgramState
fn clone(&self) -> TargetProgramState
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 moreSource§impl Default for TargetProgramState
impl Default for TargetProgramState
impl Copy for TargetProgramState
Auto Trait Implementations§
impl Freeze for TargetProgramState
impl RefUnwindSafe for TargetProgramState
impl Send for TargetProgramState
impl Sync for TargetProgramState
impl Unpin for TargetProgramState
impl UnsafeUnpin for TargetProgramState
impl UnwindSafe for TargetProgramState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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