pub enum Component<'a, 'b> {
Library(&'b Library<'a>),
Executable(&'b Executable<'a>),
TestSuite(&'b TestSuite<'a>),
Benchmark(&'b Benchmark<'a>),
}Expand description
A reference to any component type.
Variants§
Library(&'b Library<'a>)
Executable(&'b Executable<'a>)
TestSuite(&'b TestSuite<'a>)
Benchmark(&'b Benchmark<'a>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for Component<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Component<'a, 'b>
impl<'a, 'b> Send for Component<'a, 'b>
impl<'a, 'b> Sync for Component<'a, 'b>
impl<'a, 'b> Unpin for Component<'a, 'b>
impl<'a, 'b> UnsafeUnpin for Component<'a, 'b>
impl<'a, 'b> UnwindSafe for Component<'a, '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