pub enum RawSceneAttachmentBindingV1 {
Available {
inventory: RawSceneAttachmentInventoryV1,
},
Unavailable {
reason: RawSceneAttachmentUnavailableReasonV1,
},
}Expand description
Exact available inventory or a typed absence committed by provenance.
Variants§
Available
Exact same-load raw inventory.
Fields
§
inventory: RawSceneAttachmentInventoryV1Bounded inventory record.
Closed absence state.
Implementations§
Source§impl RawSceneAttachmentBindingV1
impl RawSceneAttachmentBindingV1
Sourcepub fn available(inventory: RawSceneAttachmentInventoryV1) -> Self
pub fn available(inventory: RawSceneAttachmentInventoryV1) -> Self
Construct an available binding.
Construct a typed unavailable binding.
Sourcepub const fn inventory(&self) -> Option<&RawSceneAttachmentInventoryV1>
pub const fn inventory(&self) -> Option<&RawSceneAttachmentInventoryV1>
Exact inventory, when available.
Trait Implementations§
Source§impl Clone for RawSceneAttachmentBindingV1
impl Clone for RawSceneAttachmentBindingV1
Source§fn clone(&self) -> RawSceneAttachmentBindingV1
fn clone(&self) -> RawSceneAttachmentBindingV1
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 RawSceneAttachmentBindingV1
impl Debug for RawSceneAttachmentBindingV1
Source§impl<'de> Deserialize<'de> for RawSceneAttachmentBindingV1
impl<'de> Deserialize<'de> for RawSceneAttachmentBindingV1
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 RawSceneAttachmentBindingV1
impl StructuralPartialEq for RawSceneAttachmentBindingV1
Auto Trait Implementations§
impl Freeze for RawSceneAttachmentBindingV1
impl RefUnwindSafe for RawSceneAttachmentBindingV1
impl Send for RawSceneAttachmentBindingV1
impl Sync for RawSceneAttachmentBindingV1
impl Unpin for RawSceneAttachmentBindingV1
impl UnsafeUnpin for RawSceneAttachmentBindingV1
impl UnwindSafe for RawSceneAttachmentBindingV1
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