#[non_exhaustive]pub enum ContentStructureKind {
SingleResource,
ImageSequence,
OrderedParts,
Package,
}Expand description
The structural shape used to realize a representation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SingleResource
One concrete resource.
ImageSequence
One compact patterned image-sequence resource.
OrderedParts
Several required resources consumed in stable order.
Package
A role-bearing collection of required and optional resources.
Trait Implementations§
Source§impl Clone for ContentStructureKind
impl Clone for ContentStructureKind
Source§fn clone(&self) -> ContentStructureKind
fn clone(&self) -> ContentStructureKind
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 moreimpl Copy for ContentStructureKind
Source§impl Debug for ContentStructureKind
impl Debug for ContentStructureKind
impl Eq for ContentStructureKind
Source§impl Hash for ContentStructureKind
impl Hash for ContentStructureKind
Source§impl PartialEq for ContentStructureKind
impl PartialEq for ContentStructureKind
Source§fn eq(&self, other: &ContentStructureKind) -> bool
fn eq(&self, other: &ContentStructureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContentStructureKind
Auto Trait Implementations§
impl Freeze for ContentStructureKind
impl RefUnwindSafe for ContentStructureKind
impl Send for ContentStructureKind
impl Sync for ContentStructureKind
impl Unpin for ContentStructureKind
impl UnsafeUnpin for ContentStructureKind
impl UnwindSafe for ContentStructureKind
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