pub struct WE13MetaData {
pub data_version: i32,
pub version: i32,
pub we_offset: [i32; 3],
pub offset: [i32; 3],
pub date: Option<i64>,
pub v3_extra: Option<WE13MetaDataV3Extra>,
pub width: i16,
pub height: i16,
pub length: i16,
}
Expand description
Metadata of World Edit 1.13+
Fields§
§data_version: i32
§version: i32
§we_offset: [i32; 3]
§offset: [i32; 3]
§date: Option<i64>
§v3_extra: Option<WE13MetaDataV3Extra>
§width: i16
§height: i16
§length: i16
Implementations§
Source§impl WE13MetaData
impl WE13MetaData
pub fn from_data_version(dv: DataVersion) -> Result<WE13MetaData, Error>
pub fn from_data_version_i32(dv: i32) -> Result<WE13MetaData, Error>
Trait Implementations§
Source§impl Clone for WE13MetaData
impl Clone for WE13MetaData
Source§fn clone(&self) -> WE13MetaData
fn clone(&self) -> WE13MetaData
Returns a copy 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 WE13MetaData
impl Debug for WE13MetaData
Source§impl Default for WE13MetaData
impl Default for WE13MetaData
Source§fn default() -> WE13MetaData
fn default() -> WE13MetaData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WE13MetaData
impl RefUnwindSafe for WE13MetaData
impl Send for WE13MetaData
impl Sync for WE13MetaData
impl Unpin for WE13MetaData
impl UnwindSafe for WE13MetaData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more