[−][src]Struct devbox_build::Set
Ordered list of owned resources
This is like Vec with '+' overloaded for easy adding of resources. Resources added by reference are cloned.
Trait Implementations
impl<'_, R> Add<&'_ R> for Set<R> where
R: Clone,
[src]
R: Clone,
type Output = Set<R>
The resulting type after applying the +
operator.
fn add(self, rhs: &R) -> Self::Output
[src]
impl<R> Add<R> for Set<R>
[src]
type Output = Set<R>
The resulting type after applying the +
operator.
fn add(self, rhs: R) -> Self::Output
[src]
impl<T> AsRef<Set<T>> for Set<T>
[src]
impl<T: Clone> Clone for Set<T>
[src]
impl<T: Debug> Debug for Set<T>
[src]
impl<T> From<Vec<T>> for Set<T>
[src]
impl<T> IntoIterator for Set<T>
[src]
type Item = T
The type of the elements being iterated over.
type IntoIter = IntoIter<Self::Item>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<R> Resource for Set<R> where
R: Resource,
[src]
R: Resource,
fn timestamp(&self) -> Option<SystemTime>
[src]
fn mk_from<F, R, S>(&self, description: &str, src: S, by: F) where
R: Resource,
S: AsResource<R>,
F: FnOnce(),
[src]
R: Resource,
S: AsResource<R>,
F: FnOnce(),
fn mk_from_result<E, F, R, S>(
&self,
description: &str,
src: S,
by: F
) -> Result<(), E> where
R: Resource,
S: AsRef<R>,
F: FnOnce() -> Result<(), E>,
[src]
&self,
description: &str,
src: S,
by: F
) -> Result<(), E> where
R: Resource,
S: AsRef<R>,
F: FnOnce() -> Result<(), E>,
Auto Trait Implementations
impl<T> RefUnwindSafe for Set<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Set<T> where
T: Send,
T: Send,
impl<T> Sync for Set<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Set<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Set<T> where
T: UnwindSafe,
T: 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<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
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>,