pub struct TilesetFlags(pub u32);Expand description
Bitflags for tileset properties.
Tuple Fields§
§0: u32Implementations§
Source§impl TilesetFlags
impl TilesetFlags
Sourcepub fn has_external_link(self) -> bool
pub fn has_external_link(self) -> bool
Returns whether the tileset references an external file.
Sourcepub fn has_embedded_tiles(self) -> bool
pub fn has_embedded_tiles(self) -> bool
Returns whether the tileset has embedded tile pixel data.
Sourcepub fn empty_tile_is_zero(self) -> bool
pub fn empty_tile_is_zero(self) -> bool
Returns whether tile ID 0 represents an empty tile.
Trait Implementations§
Source§impl Clone for TilesetFlags
impl Clone for TilesetFlags
Source§fn clone(&self) -> TilesetFlags
fn clone(&self) -> TilesetFlags
Returns a duplicate 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 TilesetFlags
impl Debug for TilesetFlags
Source§impl PartialEq for TilesetFlags
impl PartialEq for TilesetFlags
impl Copy for TilesetFlags
impl Eq for TilesetFlags
impl StructuralPartialEq for TilesetFlags
Auto Trait Implementations§
impl Freeze for TilesetFlags
impl RefUnwindSafe for TilesetFlags
impl Send for TilesetFlags
impl Sync for TilesetFlags
impl Unpin for TilesetFlags
impl UnsafeUnpin for TilesetFlags
impl UnwindSafe for TilesetFlags
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