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