Struct gdnative_bindings::visual_server::TextureFlags
source · pub struct TextureFlags(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl TextureFlags
impl TextureFlags
pub const FLAG_MIPMAPS: TextureFlags = _
pub const FLAG_REPEAT: TextureFlags = _
pub const FLAG_FILTER: TextureFlags = _
pub const FLAGS_DEFAULT: TextureFlags = _
pub const FLAG_ANISOTROPIC_FILTER: TextureFlags = _
pub const FLAG_CONVERT_TO_LINEAR: TextureFlags = _
pub const FLAG_MIRRORED_REPEAT: TextureFlags = _
pub const FLAG_USED_FOR_STREAMING: TextureFlags = _
Trait Implementations§
source§impl Clone for TextureFlags
impl Clone for TextureFlags
source§fn clone(&self) -> TextureFlags
fn clone(&self) -> TextureFlags
Returns a copy 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 TextureFlags
impl Debug for TextureFlags
source§impl From<TextureFlags> for i64
impl From<TextureFlags> for i64
source§fn from(v: TextureFlags) -> Self
fn from(v: TextureFlags) -> Self
Converts to this type from the input type.
source§impl From<i64> for TextureFlags
impl From<i64> for TextureFlags
source§impl FromVariant for TextureFlags
impl FromVariant for TextureFlags
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for TextureFlags
impl Hash for TextureFlags
source§impl Ord for TextureFlags
impl Ord for TextureFlags
source§fn cmp(&self, other: &TextureFlags) -> Ordering
fn cmp(&self, other: &TextureFlags) -> Ordering
1.21.0 · 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<TextureFlags> for TextureFlags
impl PartialEq<TextureFlags> for TextureFlags
source§fn eq(&self, other: &TextureFlags) -> bool
fn eq(&self, other: &TextureFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TextureFlags> for TextureFlags
impl PartialOrd<TextureFlags> for TextureFlags
source§fn partial_cmp(&self, other: &TextureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &TextureFlags) -> Option<Ordering>
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 TextureFlags
impl Eq for TextureFlags
impl StructuralEq for TextureFlags
impl StructuralPartialEq for TextureFlags
Auto Trait Implementations§
impl RefUnwindSafe for TextureFlags
impl Send for TextureFlags
impl Sync for TextureFlags
impl Unpin for TextureFlags
impl UnwindSafe for TextureFlags
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.