pub struct AssetListMonoBehaviour {
pub levels: Vec<LevelInfo>,
pub musics: Vec<MusicInfo>,
pub illustrations: Vec<IllustrationInfo>,
pub alt_illustration_infos: Vec<AltIllustrationInfo>,
pub charts: Vec<ChartInfo>,
pub difficulty_colors: Vec<DifficultyInfo>,
pub layout_colors: Vec<LayoutInfo>,
pub discs: Vec<DiscInfo>,
pub special_levels: Vec<SpecialLevelInfo>,
pub static_cards_info_asset: AnyFileRef,
}Fields§
§levels: Vec<LevelInfo>§musics: Vec<MusicInfo>§illustrations: Vec<IllustrationInfo>§alt_illustration_infos: Vec<AltIllustrationInfo>§charts: Vec<ChartInfo>§difficulty_colors: Vec<DifficultyInfo>§layout_colors: Vec<LayoutInfo>§discs: Vec<DiscInfo>§special_levels: Vec<SpecialLevelInfo>§static_cards_info_asset: AnyFileRefImplementations§
Source§impl AssetListMonoBehaviour
impl AssetListMonoBehaviour
pub fn level_by_id(&self, id: &str) -> Option<LevelInfo>
pub fn music_by_id(&self, id: &str) -> Option<MusicInfo>
pub fn illustration_by_id(&self, id: &str) -> Option<IllustrationInfo>
pub fn chart_by_id(&self, id: &str) -> Option<ChartInfo>
pub fn full_level_by_id(&self, id: &str) -> Option<FullLevelInfo>
Trait Implementations§
Source§impl Clone for AssetListMonoBehaviour
impl Clone for AssetListMonoBehaviour
Source§fn clone(&self) -> AssetListMonoBehaviour
fn clone(&self) -> AssetListMonoBehaviour
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 AssetListMonoBehaviour
impl Debug for AssetListMonoBehaviour
Source§impl<'de> Deserialize<'de> for AssetListMonoBehaviour
impl<'de> Deserialize<'de> for AssetListMonoBehaviour
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 JsonFile for AssetListMonoBehaviour
impl JsonFile for AssetListMonoBehaviour
fn from_json_file<P: AsRef<Path>>(path: P) -> Result<Self, JsonLoadError>where
Self: Sized + for<'a> Deserialize<'a>,
fn from_json_string(text: &str) -> Result<Self, JsonLoadError>where
Self: Sized + for<'a> Deserialize<'a>,
Auto Trait Implementations§
impl Freeze for AssetListMonoBehaviour
impl RefUnwindSafe for AssetListMonoBehaviour
impl Send for AssetListMonoBehaviour
impl Sync for AssetListMonoBehaviour
impl Unpin for AssetListMonoBehaviour
impl UnwindSafe for AssetListMonoBehaviour
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