[−][src]Enum sprite_gen::MaskValue
Replacement for the i8
datatype that can be passed to gen_sprite
.
Variants
-1
: This pixel will always be a border.
0
: This pixel will always be empty.
1
: This pixel will either be empty or filled (body).
2
: This pixel will either be a border or filled (body).
Methods
impl MaskValue
[src]
Trait Implementations
impl Clone for MaskValue
[src]
impl Debug for MaskValue
[src]
impl Default for MaskValue
[src]
impl Eq for MaskValue
[src]
impl From<MaskValue> for i8
[src]
impl From<i8> for MaskValue
[src]
impl PartialEq<MaskValue> for MaskValue
[src]
impl StructuralEq for MaskValue
[src]
impl StructuralPartialEq for MaskValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for MaskValue
impl Send for MaskValue
impl Sync for MaskValue
impl Unpin for MaskValue
impl UnwindSafe for MaskValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,