Struct ct_tilemap::SubLayerLink
source · pub struct SubLayerLink {
pub tileset: u8,
pub animation: u8,
pub animation_frame: u8,
}Expand description
A link to a sublayer within a layer.
Fields§
§tileset: u8Which sublayer is this layer’s tileset linked to?
animation: u8Which sublayer is this layer’s animation linked to?
animation_frame: u8Which sublayer is this layer’s animation frames linked to?
Implementations§
source§impl SubLayerLink
impl SubLayerLink
Trait Implementations§
source§impl Clone for SubLayerLink
impl Clone for SubLayerLink
source§fn clone(&self) -> SubLayerLink
fn clone(&self) -> SubLayerLink
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 moresource§impl Debug for SubLayerLink
impl Debug for SubLayerLink
source§impl Default for SubLayerLink
impl Default for SubLayerLink
source§impl PartialEq for SubLayerLink
impl PartialEq for SubLayerLink
source§fn eq(&self, other: &SubLayerLink) -> bool
fn eq(&self, other: &SubLayerLink) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SubLayerLink
impl StructuralEq for SubLayerLink
impl StructuralPartialEq for SubLayerLink
Auto Trait Implementations§
impl RefUnwindSafe for SubLayerLink
impl Send for SubLayerLink
impl Sync for SubLayerLink
impl Unpin for SubLayerLink
impl UnwindSafe for SubLayerLink
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