pub struct TargetAxisSlot { /* private fields */ }Expand description
The wire shape apply and target_findings have always had:
None together when no target context was supplied, Some
together otherwise. present is the only writer of a Some, so
the pair cannot travel apart in-process. Flattened into
SeriesEvaluation, so the two keys keep their top-level names and
their skip_serializing_if.
Implementations§
Source§impl TargetAxisSlot
impl TargetAxisSlot
pub fn absent() -> Self
pub fn present(axis: TargetAxis) -> Self
pub fn get(&self) -> Option<TargetAxisRef<'_>>
Sourcepub fn into_axis(self) -> Option<TargetAxis>
pub fn into_axis(self) -> Option<TargetAxis>
get by value, for a caller that owns the evaluation and moves
the axis into an output struct.
Trait Implementations§
Source§impl Clone for TargetAxisSlot
impl Clone for TargetAxisSlot
Source§impl Debug for TargetAxisSlot
impl Debug for TargetAxisSlot
Source§impl Default for TargetAxisSlot
impl Default for TargetAxisSlot
Source§impl<'de> Deserialize<'de> for TargetAxisSlot
impl<'de> Deserialize<'de> for TargetAxisSlot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TargetAxisSlot
Source§impl PartialEq for TargetAxisSlot
impl PartialEq for TargetAxisSlot
Source§impl Serialize for TargetAxisSlot
impl Serialize for TargetAxisSlot
impl StructuralPartialEq for TargetAxisSlot
Auto Trait Implementations§
impl Forget for TargetAxisSlot
impl Freeze for TargetAxisSlot
impl Move for TargetAxisSlot
impl RefUnwindSafe for TargetAxisSlot
impl Send for TargetAxisSlot
impl Sync for TargetAxisSlot
impl Unpin for TargetAxisSlot
impl UnsafeUnpin for TargetAxisSlot
impl UnwindSafe for TargetAxisSlot
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