#[non_exhaustive]pub struct BmsTable {
pub header: BmsTableHeader,
pub data: BmsTableData,
}Expand description
Top-level BMS difficulty table data structure.
Packs header metadata and chart data together to simplify passing and use in applications.
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.header: BmsTableHeaderHeader information and extra fields
data: BmsTableDataTable data containing the chart list
Implementations§
Source§impl BmsTable
impl BmsTable
Sourcepub const fn new(header: BmsTableHeader, data: BmsTableData) -> Self
pub const fn new(header: BmsTableHeader, data: BmsTableData) -> Self
Creates a new BmsTable from its header and data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BmsTable
impl<'de> Deserialize<'de> for BmsTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BmsTable
Auto Trait Implementations§
impl Freeze for BmsTable
impl RefUnwindSafe for BmsTable
impl Send for BmsTable
impl Sync for BmsTable
impl Unpin for BmsTable
impl UnsafeUnpin for BmsTable
impl UnwindSafe for BmsTable
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