pub struct ChipSet {
pub name: Vec<u8>,
pub file: Vec<u8>,
pub terrain: [u16; 162],
pub passability_lower: [u32; 162],
pub passability_upper: [u32; 144],
pub animation_type: u32,
pub animation_speed: u32,
}Fields§
§name: Vec<u8>§file: Vec<u8>§terrain: [u16; 162]§passability_lower: [u32; 162]§passability_upper: [u32; 144]§animation_type: u32§animation_speed: u32Implementations§
Source§impl ChipSet
impl ChipSet
pub fn with_chunks( self, chunks: Array<Chunk<ChipSetChunk>>, ) -> Result<Self, LcfDataBaseReadError>
pub fn to_chunks(&self) -> Array<Chunk<ChipSetChunk>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChipSet
impl<'de> Deserialize<'de> for ChipSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChipSet
impl StructuralPartialEq for ChipSet
Auto Trait Implementations§
impl Freeze for ChipSet
impl RefUnwindSafe for ChipSet
impl Send for ChipSet
impl Sync for ChipSet
impl Unpin for ChipSet
impl UnsafeUnpin for ChipSet
impl UnwindSafe for ChipSet
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.