Struct oxygengine_overworld::resources::quests::QuestsDatabase [−][src]
pub struct QuestsDatabase<Q, B, V> where
Q: Debug + Clone + Send + Sync,
B: Debug + Clone + Send + Sync,
V: Currency + Debug + Clone + Send + Sync, { /* fields omitted */ }Implementations
pub fn register_many_objectives<'a>(
&'a mut self,
iter: impl Iterator<Item = Objective<B>> + 'a
) -> impl Iterator<Item = ObjectiveId> + 'a
pub fn unregister_many_objectives<'a>(
&'a mut self,
iter: impl Iterator<Item = ObjectiveId> + 'a
) -> impl Iterator<Item = Objective<B>> + 'a
pub fn find_objectives(
&self,
iter: impl Iterator<Item = ObjectiveId>
) -> impl Iterator<Item = (ObjectiveId, &Objective<B>)>
pub fn register_many_quests<'a>(
&'a mut self,
iter: impl Iterator<Item = Quest<Q, V>> + 'a
) -> impl Iterator<Item = QuestId> + 'a
pub fn unregister_many_quests<'a>(
&'a mut self,
iter: impl Iterator<Item = QuestId> + 'a
) -> impl Iterator<Item = Quest<Q, V>> + 'a
Trait Implementations
Auto Trait Implementations
impl<Q, B, V> RefUnwindSafe for QuestsDatabase<Q, B, V> where
B: RefUnwindSafe,
Q: RefUnwindSafe,
V: RefUnwindSafe,
impl<Q, B, V> Send for QuestsDatabase<Q, B, V>
impl<Q, B, V> Sync for QuestsDatabase<Q, B, V>
impl<Q, B, V> Unpin for QuestsDatabase<Q, B, V> where
B: Unpin,
Q: Unpin,
V: Unpin,
impl<Q, B, V> UnwindSafe for QuestsDatabase<Q, B, V> where
B: UnwindSafe,
Q: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self is actually part of its subset T (and can be converted to it).
pub unsafe fn to_subset_unchecked(&self) -> SS
pub unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self to the equivalent element of its superset.
