pub struct ModSet<T: 'static, B> { /* private fields */ }Implementations§
Source§impl<T: 'static, B> ModSet<T, B>
impl<T: 'static, B> ModSet<T, B>
pub fn start( host: &Host<T>, packages: Vec<Package<T>>, bind: Bind<T, B>, game: impl FnMut(&Manifest) -> T, ) -> (Self, Vec<ModError>)
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn mods(&self) -> &[Mod<T, B>]
pub fn mods_mut(&mut self) -> &mut [Mod<T, B>]
pub fn get_mut(&mut self, id: &str) -> Option<&mut Mod<T, B>>
pub fn tick(&mut self)
pub fn fingerprint(&self) -> Fingerprint
Auto Trait Implementations§
impl<T, B> Freeze for ModSet<T, B>
impl<T, B> !RefUnwindSafe for ModSet<T, B>
impl<T, B> Send for ModSet<T, B>
impl<T, B> Sync for ModSet<T, B>
impl<T, B> Unpin for ModSet<T, B>
impl<T, B> UnsafeUnpin for ModSet<T, B>
impl<T, B> !UnwindSafe for ModSet<T, B>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more