pub struct TargetPlanOperations {
first: Option<TargetPlanOperation>,
second: Option<TargetPlanOperation>,
}Expand description
TargetA/TargetB operations in authored order without allocation.
Fields§
§first: Option<TargetPlanOperation>§second: Option<TargetPlanOperation>Implementations§
Source§impl TargetPlanOperations
impl TargetPlanOperations
pub const fn one(operation: TargetPlanOperation) -> Self
pub const fn two( first: TargetPlanOperation, second: TargetPlanOperation, ) -> Self
pub const fn into_array(self) -> [Option<TargetPlanOperation>; 2]
fn push( &mut self, operation: TargetPlanOperation, ) -> Result<(), TargetPlanError>
Trait Implementations§
Source§impl Clone for TargetPlanOperations
impl Clone for TargetPlanOperations
Source§fn clone(&self) -> TargetPlanOperations
fn clone(&self) -> TargetPlanOperations
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 Debug for TargetPlanOperations
impl Debug for TargetPlanOperations
Source§impl Default for TargetPlanOperations
impl Default for TargetPlanOperations
Source§fn default() -> TargetPlanOperations
fn default() -> TargetPlanOperations
Returns the “default value” for a type. Read more
Source§impl PartialEq for TargetPlanOperations
impl PartialEq for TargetPlanOperations
impl Copy for TargetPlanOperations
impl Eq for TargetPlanOperations
impl StructuralPartialEq for TargetPlanOperations
Auto Trait Implementations§
impl Freeze for TargetPlanOperations
impl RefUnwindSafe for TargetPlanOperations
impl Send for TargetPlanOperations
impl Sync for TargetPlanOperations
impl Unpin for TargetPlanOperations
impl UnsafeUnpin for TargetPlanOperations
impl UnwindSafe for TargetPlanOperations
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