Struct tiled::Tileset [−][src]
A tileset, usually the tilesheet image.
Fields
first_gid: u32
The GID of the first tile stored
name: String
tile_width: u32
tile_height: u32
spacing: u32
margin: u32
tilecount: Option<u32>
images: Vec<Image>
The Tiled spec says that a tileset can have mutliple images so a Vec
is used. Usually you will only use one.
tiles: Vec<Tile>
properties: Properties
Trait Implementations
impl Clone for Tileset
[src]
impl Debug for Tileset
[src]
impl PartialEq<Tileset> for Tileset
[src]
impl StructuralPartialEq for Tileset
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tileset
[src]
impl Send for Tileset
[src]
impl Sync for Tileset
[src]
impl Unpin for Tileset
[src]
impl UnwindSafe for Tileset
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,