pub struct TileDescriptor {
pub image: String,
pub flags: u32,
}Fields§
§image: String§flags: u32Trait Implementations§
Source§impl Clone for TileDescriptor
impl Clone for TileDescriptor
Source§fn clone(&self) -> TileDescriptor
fn clone(&self) -> TileDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TileDescriptor
impl Debug for TileDescriptor
Source§impl<'de> Deserialize<'de> for TileDescriptor
impl<'de> Deserialize<'de> for TileDescriptor
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
Source§impl PartialEq for TileDescriptor
impl PartialEq for TileDescriptor
Source§fn eq(&self, other: &TileDescriptor) -> bool
fn eq(&self, other: &TileDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TileDescriptor
impl Serialize for TileDescriptor
impl StructuralPartialEq for TileDescriptor
Auto Trait Implementations§
impl Freeze for TileDescriptor
impl RefUnwindSafe for TileDescriptor
impl Send for TileDescriptor
impl Sync for TileDescriptor
impl Unpin for TileDescriptor
impl UnsafeUnpin for TileDescriptor
impl UnwindSafe for TileDescriptor
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