pub struct BmsTableList {
pub indexes: Vec<BmsTableInfo>,
}Expand description
BMS 难度表列表包装类型。
透明序列化为数组:序列化/反序列化时行为与内部的 Vec<BmsTableInfo> 相同,
因此序列化结果为一个 JSON 数组而不是对象。
Fields§
§indexes: Vec<BmsTableInfo>列表条目数组
Trait Implementations§
Source§impl Clone for BmsTableList
impl Clone for BmsTableList
Source§fn clone(&self) -> BmsTableList
fn clone(&self) -> BmsTableList
Returns a duplicate 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 BmsTableList
impl Debug for BmsTableList
Source§impl<'de> Deserialize<'de> for BmsTableList
impl<'de> Deserialize<'de> for BmsTableList
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
Source§impl PartialEq for BmsTableList
impl PartialEq for BmsTableList
Source§impl Serialize for BmsTableList
impl Serialize for BmsTableList
impl Eq for BmsTableList
impl StructuralPartialEq for BmsTableList
Auto Trait Implementations§
impl Freeze for BmsTableList
impl RefUnwindSafe for BmsTableList
impl Send for BmsTableList
impl Sync for BmsTableList
impl Unpin for BmsTableList
impl UnwindSafe for BmsTableList
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.