#[repr(i32)]pub enum ImageArrayRank {
Rank2 = 2,
Rank3 = 3,
}
Available on crate feature
camera
only.Expand description
Rank of an image array.
Variants§
Trait Implementations§
Source§impl Clone for ImageArrayRank
impl Clone for ImageArrayRank
Source§fn clone(&self) -> ImageArrayRank
fn clone(&self) -> ImageArrayRank
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 ImageArrayRank
impl Debug for ImageArrayRank
Source§impl<'de> Deserialize<'de> for ImageArrayRank
impl<'de> Deserialize<'de> for ImageArrayRank
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
Source§impl From<ImageArrayRank> for i32
impl From<ImageArrayRank> for i32
Source§fn from(enum_value: ImageArrayRank) -> Self
fn from(enum_value: ImageArrayRank) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ImageArrayRank
impl PartialEq for ImageArrayRank
Source§impl Serialize for ImageArrayRank
impl Serialize for ImageArrayRank
Source§impl TryFrom<i32> for ImageArrayRank
impl TryFrom<i32> for ImageArrayRank
Source§type Error = TryFromPrimitiveError<ImageArrayRank>
type Error = TryFromPrimitiveError<ImageArrayRank>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ImageArrayRank
impl TryFromPrimitive for ImageArrayRank
const NAME: &'static str = "ImageArrayRank"
type Primitive = i32
type Error = TryFromPrimitiveError<ImageArrayRank>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ImageArrayRank
impl Eq for ImageArrayRank
impl StructuralPartialEq for ImageArrayRank
Auto Trait Implementations§
impl Freeze for ImageArrayRank
impl RefUnwindSafe for ImageArrayRank
impl Send for ImageArrayRank
impl Sync for ImageArrayRank
impl Unpin for ImageArrayRank
impl UnwindSafe for ImageArrayRank
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.