pub struct SetTileCorner {
pub terrain: Option<String>,
pub height: Option<i32>,
}Expand description
One terrain corner annotation on a tile.
§Examples
let corner = nwnrs_set::SetTileCorner::default();
assert!(corner.terrain.is_none());Fields§
§terrain: Option<String>Terrain tag for this corner.
height: Option<i32>Height step at this corner.
Trait Implementations§
Source§impl Clone for SetTileCorner
impl Clone for SetTileCorner
Source§fn clone(&self) -> SetTileCorner
fn clone(&self) -> SetTileCorner
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 SetTileCorner
impl Debug for SetTileCorner
Source§impl Default for SetTileCorner
impl Default for SetTileCorner
Source§fn default() -> SetTileCorner
fn default() -> SetTileCorner
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetTileCorner
impl PartialEq for SetTileCorner
impl Eq for SetTileCorner
impl StructuralPartialEq for SetTileCorner
Auto Trait Implementations§
impl Freeze for SetTileCorner
impl RefUnwindSafe for SetTileCorner
impl Send for SetTileCorner
impl Sync for SetTileCorner
impl Unpin for SetTileCorner
impl UnsafeUnpin for SetTileCorner
impl UnwindSafe for SetTileCorner
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