pub struct Flags(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl Flags
impl Flags
pub const FLAG_MIPMAPS: Flags = Flags(1i64)
pub const FLAG_REPEAT: Flags = Flags(2i64)
pub const FLAG_FILTER: Flags = Flags(4i64)
pub const FLAGS_DEFAULT: Flags = Flags(7i64)
pub const FLAG_ANISOTROPIC_FILTER: Flags = Flags(8i64)
pub const FLAG_CONVERT_TO_LINEAR: Flags = Flags(16i64)
pub const FLAG_MIRRORED_REPEAT: Flags = Flags(32i64)
pub const FLAG_VIDEO_SURFACE: Flags = Flags(2048i64)
Trait Implementations§
source§impl FromVariant for Flags
impl FromVariant for Flags
fn from_variant(v: &Variant) -> Result<Flags, FromVariantError>
source§impl Ord for Flags
impl Ord for Flags
source§impl PartialEq<Flags> for Flags
impl PartialEq<Flags> for Flags
source§impl PartialOrd<Flags> for Flags
impl PartialOrd<Flags> for Flags
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Flags
impl Eq for Flags
impl StructuralEq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.