#[repr(i32)]pub enum PrefetchType {
PftSound = 0,
}Variants§
PftSound = 0
Implementations§
Source§impl PrefetchType
impl PrefetchType
Trait Implementations§
Source§impl Clone for PrefetchType
impl Clone for PrefetchType
Source§fn clone(&self) -> PrefetchType
fn clone(&self) -> PrefetchType
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 PrefetchType
impl Debug for PrefetchType
Source§impl Default for PrefetchType
impl Default for PrefetchType
Source§fn default() -> PrefetchType
fn default() -> PrefetchType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefetchType
impl<'de> Deserialize<'de> for PrefetchType
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<PrefetchType> for i32
impl From<PrefetchType> for i32
Source§fn from(value: PrefetchType) -> i32
fn from(value: PrefetchType) -> i32
Converts to this type from the input type.
Source§impl Hash for PrefetchType
impl Hash for PrefetchType
Source§impl Ord for PrefetchType
impl Ord for PrefetchType
Source§fn cmp(&self, other: &PrefetchType) -> Ordering
fn cmp(&self, other: &PrefetchType) -> 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 PartialEq for PrefetchType
impl PartialEq for PrefetchType
Source§fn eq(&self, other: &PrefetchType) -> bool
fn eq(&self, other: &PrefetchType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PrefetchType
impl PartialOrd for PrefetchType
Source§impl Serialize for PrefetchType
impl Serialize for PrefetchType
Source§impl TryFrom<i32> for PrefetchType
impl TryFrom<i32> for PrefetchType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<PrefetchType, UnknownEnumValue>
fn try_from(value: i32) -> Result<PrefetchType, UnknownEnumValue>
Performs the conversion.
impl Copy for PrefetchType
impl Eq for PrefetchType
impl StructuralPartialEq for PrefetchType
Auto Trait Implementations§
impl Freeze for PrefetchType
impl RefUnwindSafe for PrefetchType
impl Send for PrefetchType
impl Sync for PrefetchType
impl Unpin for PrefetchType
impl UnsafeUnpin for PrefetchType
impl UnwindSafe for PrefetchType
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