pub enum Property {
Integer(i32),
Float(f32),
String(Vec<u8>),
}Expand description
A value of a property in a layer of a tilemap.
Variants§
Integer(i32)
Integer.
Float(f32)
Floating point.
String(Vec<u8>)
Arbitrary bytes. Trying to write a string with length 0 to a file will fail!
Trait Implementations§
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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