pub struct Terrain {
pub plates: Vec<PlateModel>,
}
Fields§
§plates: Vec<PlateModel>
Implementations§
Source§impl Terrain
impl Terrain
Sourcepub fn from_existing(buffer: ByteSpan<'_>) -> Option<Terrain>
pub fn from_existing(buffer: ByteSpan<'_>) -> Option<Terrain>
Reads an existing TERA file
pub fn write_to_buffer(&self) -> Option<ByteBuffer>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Terrain
impl RefUnwindSafe for Terrain
impl Send for Terrain
impl Sync for Terrain
impl Unpin for Terrain
impl UnwindSafe for Terrain
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