#[non_exhaustive]pub struct Format {
pub name: String,
pub class: String,
pub blockSize: u8,
pub texelsPerBlock: u8,
pub blockExtent: Option<String>,
pub packed: Option<u8>,
pub compressed: Option<String>,
pub chroma: Option<String>,
pub children: Vec<FormatChild>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
§class: String
§blockSize: u8
§texelsPerBlock: u8
§blockExtent: Option<String>
§packed: Option<u8>
§compressed: Option<String>
§chroma: Option<String>
§children: Vec<FormatChild>
Trait Implementations§
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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