pub struct Set<T> { /* private fields */ }
Expand description
Ordered list of owned resources
This is like Vec with ‘+’ overloaded for easy adding of resources. Resources added by reference are cloned.
Trait Implementations§
Source§impl<T> IntoIterator for Set<T>
impl<T> IntoIterator for Set<T>
Source§impl<R> Resource for Set<R>where
R: Resource,
impl<R> Resource for Set<R>where
R: Resource,
Source§fn timestamp(&self) -> Option<SystemTime>
fn timestamp(&self) -> Option<SystemTime>
Name of the resource used for logging and error reporting
Return resource timestamp. Can be None for input resources that should be considered as
changed in every build run or output resources that do not exists yet.
Auto Trait Implementations§
impl<T> Freeze for Set<T>
impl<T> RefUnwindSafe for Set<T>where
T: RefUnwindSafe,
impl<T> Send for Set<T>where
T: Send,
impl<T> Sync for Set<T>where
T: Sync,
impl<T> Unpin for Set<T>where
T: Unpin,
impl<T> UnwindSafe for Set<T>where
T: UnwindSafe,
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