pub enum TilingType {
ConstantSpacing,
NoDistortion,
FastConstantSpacing,
}
Expand description
How to adjust tile spacing.
Variants§
ConstantSpacing
Constant space between each tile, tiles may be distorted by 1px.
NoDistortion
Tile size is constant, spacing between may vary by 1px.
FastConstantSpacing
Constant space between each tile and faster drawing, tiles may be distorted.
Trait Implementations§
source§impl Clone for TilingType
impl Clone for TilingType
source§fn clone(&self) -> TilingType
fn clone(&self) -> TilingType
Returns a copy of the value. Read more
1.6.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 TilingType
impl Debug for TilingType
source§impl Hash for TilingType
impl Hash for TilingType
source§impl PartialEq for TilingType
impl PartialEq for TilingType
impl Copy for TilingType
impl Eq for TilingType
impl StructuralPartialEq for TilingType
Auto Trait Implementations§
impl Freeze for TilingType
impl RefUnwindSafe for TilingType
impl Send for TilingType
impl Sync for TilingType
impl Unpin for TilingType
impl UnwindSafe for TilingType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)