Trait veloren_common::terrain::sprite::Attribute
source · pub trait Attribute: Default + Sized {
type Error: Debug;
const INDEX: usize;
const BITS: u8;
// Required methods
fn from_bits(bits: u16) -> Result<Self, Self::Error>;
fn into_bits(self) -> u16;
}
Required Associated Types§
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.