Enum freya_engine::prelude::TileMode
#[repr(i32)]pub enum TileMode {
Clamp = 0,
Repeat = 1,
Mirror = 2,
Decal = 3,
}
Variants§
Implementations§
§impl SkTileMode
impl SkTileMode
pub const LastTileMode: SkTileMode = SkTileMode::Decal
Trait Implementations§
§impl Clone for SkTileMode
impl Clone for SkTileMode
§fn clone(&self) -> SkTileMode
fn clone(&self) -> SkTileMode
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 more§impl Debug for SkTileMode
impl Debug for SkTileMode
§impl Default for SkTileMode
impl Default for SkTileMode
§fn default() -> SkTileMode
fn default() -> SkTileMode
Returns the “default value” for a type. Read more
§impl Hash for SkTileMode
impl Hash for SkTileMode
§impl PartialEq for SkTileMode
impl PartialEq for SkTileMode
§fn eq(&self, other: &SkTileMode) -> bool
fn eq(&self, other: &SkTileMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SkTileMode
impl Eq for SkTileMode
impl StructuralPartialEq for SkTileMode
Auto Trait Implementations§
impl RefUnwindSafe for SkTileMode
impl Send for SkTileMode
impl Sync for SkTileMode
impl Unpin for SkTileMode
impl UnwindSafe for SkTileMode
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