[−][src]Struct game_features::UnlockableBuilder
Builder for Unlockable
.
Implementations
impl<U: Clone, K: Clone, S: Clone, I: Clone> UnlockableBuilder<U, K, S, I>
[src]
pub fn id(&mut self, value: U) -> &mut Self
[src]
pub fn inner(&mut self, value: K) -> &mut Self
[src]
pub fn is_unlocked(&mut self, value: bool) -> &mut Self
[src]
pub fn unlock_stat_conditions(
&mut self,
value: Vec<StatCondition<S>>
) -> &mut Self
[src]
&mut self,
value: Vec<StatCondition<S>>
) -> &mut Self
pub fn unlock_item_conditions(
&mut self,
value: Vec<(I, usize, UseMode)>
) -> &mut Self
[src]
&mut self,
value: Vec<(I, usize, UseMode)>
) -> &mut Self
pub fn unlock_dependencies(&mut self, value: Vec<U>) -> &mut Self
[src]
pub fn build(&self) -> Result<Unlockable<U, K, S, I>, String>
[src]
Trait Implementations
impl<U: Clone, K: Clone, S: Clone, I: Clone> Clone for UnlockableBuilder<U, K, S, I>
[src]
fn clone(&self) -> UnlockableBuilder<U, K, S, I>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<U: Default, K: Default, S: Default, I: Default> Default for UnlockableBuilder<U, K, S, I>
[src]
fn default() -> UnlockableBuilder<U, K, S, I>
[src]
Auto Trait Implementations
impl<U, K, S, I> RefUnwindSafe for UnlockableBuilder<U, K, S, I> where
I: RefUnwindSafe,
K: RefUnwindSafe,
S: RefUnwindSafe,
U: RefUnwindSafe,
I: RefUnwindSafe,
K: RefUnwindSafe,
S: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, K, S, I> Send for UnlockableBuilder<U, K, S, I> where
I: Send,
K: Send,
S: Send,
U: Send,
I: Send,
K: Send,
S: Send,
U: Send,
impl<U, K, S, I> Sync for UnlockableBuilder<U, K, S, I> where
I: Sync,
K: Sync,
S: Sync,
U: Sync,
I: Sync,
K: Sync,
S: Sync,
U: Sync,
impl<U, K, S, I> Unpin for UnlockableBuilder<U, K, S, I> where
I: Unpin,
K: Unpin,
S: Unpin,
U: Unpin,
I: Unpin,
K: Unpin,
S: Unpin,
U: Unpin,
impl<U, K, S, I> UnwindSafe for UnlockableBuilder<U, K, S, I> where
I: UnwindSafe,
K: UnwindSafe,
S: UnwindSafe,
U: UnwindSafe,
I: UnwindSafe,
K: UnwindSafe,
S: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,