pub struct Project {
pub milestones: Vec<i64>,
pub symbols: HashMap<String, Symbol>,
pub sound_changes: Vec<SoundChange>,
}
Fields§
§milestones: Vec<i64>
§symbols: HashMap<String, Symbol>
§sound_changes: Vec<SoundChange>
Implementations§
Source§impl Project
impl Project
pub fn new() -> Self
pub fn add_symbol(&mut self, symbol: Symbol) -> Result<(), Symbol>
pub fn add_all_symbols( &mut self, symbols: impl Iterator<Item = Symbol>, ) -> Result<(), Vec<Symbol>>
pub fn import( &mut self, names: &[&str], other: &Self, ) -> Result<(), Vec<ImportError>>
pub fn import_all_from( &mut self, other: &Project, ) -> Result<(), Vec<ImportError>>
Trait Implementations§
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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