pub struct TextureSize(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl TextureSize
impl TextureSize
pub const _256: TextureSize
pub const _512: TextureSize
pub const _1024: TextureSize
pub const _2048: TextureSize
pub const _4096: TextureSize
pub const MAX: TextureSize
Trait Implementations§
Source§impl Clone for TextureSize
impl Clone for TextureSize
Source§fn clone(&self) -> TextureSize
fn clone(&self) -> TextureSize
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 TextureSize
Source§impl Debug for TextureSize
impl Debug for TextureSize
impl Eq for TextureSize
Source§impl From<TextureSize> for i64
impl From<TextureSize> for i64
Source§fn from(v: TextureSize) -> Self
fn from(v: TextureSize) -> Self
Converts to this type from the input type.
Source§impl From<i64> for TextureSize
impl From<i64> for TextureSize
Source§impl FromVariant for TextureSize
impl FromVariant for TextureSize
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for TextureSize
impl Hash for TextureSize
Source§impl Ord for TextureSize
impl Ord for TextureSize
Source§fn cmp(&self, other: &TextureSize) -> Ordering
fn cmp(&self, other: &TextureSize) -> 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 TextureSize
impl PartialEq for TextureSize
Source§impl PartialOrd for TextureSize
impl PartialOrd for TextureSize
impl StructuralPartialEq for TextureSize
Auto Trait Implementations§
impl Freeze for TextureSize
impl RefUnwindSafe for TextureSize
impl Send for TextureSize
impl Sync for TextureSize
impl Unpin for TextureSize
impl UnsafeUnpin for TextureSize
impl UnwindSafe for TextureSize
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.