pub struct TargetFilter {
pub name: String,
pub kind: String,
}
Expand description
A filter for selecting a target from a package.
Fields§
§name: String
The target name to match.
kind: String
The kind of target to match.
Trait Implementations§
Source§impl Default for TargetFilter
impl Default for TargetFilter
Source§fn default() -> TargetFilter
fn default() -> TargetFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TargetFilter
impl RefUnwindSafe for TargetFilter
impl Send for TargetFilter
impl Sync for TargetFilter
impl Unpin for TargetFilter
impl UnwindSafe for TargetFilter
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