pub enum PredictionBasisReferenceV4 {
V2(PredictionBasisReferenceV2),
RawSceneAttachment(RawSceneAttachmentBasisReferenceV1),
}Expand description
Versioned V4 basis vocabulary, preserving every historical V2 reference.
Variants§
V2(PredictionBasisReferenceV2)
One immutable V2 profile/settings/raw/timing/measurement reference.
RawSceneAttachment(RawSceneAttachmentBasisReferenceV1)
One index-only reference into raw scene/attachment inventory V1.
Implementations§
Source§impl PredictionBasisReferenceV4
impl PredictionBasisReferenceV4
Sourcepub const fn v2(reference: PredictionBasisReferenceV2) -> Self
pub const fn v2(reference: PredictionBasisReferenceV2) -> Self
Lift an immutable V2 reference into the V4 basis vocabulary.
Sourcepub const fn raw_scene_attachment(
reference: RawSceneAttachmentBasisReferenceV1,
) -> Self
pub const fn raw_scene_attachment( reference: RawSceneAttachmentBasisReferenceV1, ) -> Self
Retain one typed raw scene/attachment inventory reference.
Trait Implementations§
Source§impl Clone for PredictionBasisReferenceV4
impl Clone for PredictionBasisReferenceV4
Source§fn clone(&self) -> PredictionBasisReferenceV4
fn clone(&self) -> PredictionBasisReferenceV4
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PredictionBasisReferenceV4
impl Debug for PredictionBasisReferenceV4
Source§impl<'de> Deserialize<'de> for PredictionBasisReferenceV4
impl<'de> Deserialize<'de> for PredictionBasisReferenceV4
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 PredictionBasisReferenceV4
Source§impl Ord for PredictionBasisReferenceV4
impl Ord for PredictionBasisReferenceV4
Source§fn cmp(&self, other: &PredictionBasisReferenceV4) -> Ordering
fn cmp(&self, other: &PredictionBasisReferenceV4) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PredictionBasisReferenceV4
impl PartialOrd for PredictionBasisReferenceV4
impl StructuralPartialEq for PredictionBasisReferenceV4
Auto Trait Implementations§
impl Freeze for PredictionBasisReferenceV4
impl RefUnwindSafe for PredictionBasisReferenceV4
impl Send for PredictionBasisReferenceV4
impl Sync for PredictionBasisReferenceV4
impl Unpin for PredictionBasisReferenceV4
impl UnsafeUnpin for PredictionBasisReferenceV4
impl UnwindSafe for PredictionBasisReferenceV4
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