pub enum CollectPlatform {
Any,
Static {
target: String,
cfg: Vec<Cfg>,
},
Current,
}Variants§
Any
Collect dependencies regardless of their target and cfg restrictions.
Static
Only collect dependencies for a specific static platform.
Fields
Current
Only collect dependencies compatible with the current platform.
Trait Implementations§
Source§impl Debug for CollectPlatform
impl Debug for CollectPlatform
Source§impl Default for CollectPlatform
impl Default for CollectPlatform
Source§fn default() -> CollectPlatform
fn default() -> CollectPlatform
Returns the “default value” for a type. Read more
Source§impl Parse for CollectPlatform
impl Parse for CollectPlatform
fn parse(input: &ParseBuffer<'_>) -> Result<CollectPlatform, Error>
Source§impl PartialEq for CollectPlatform
impl PartialEq for CollectPlatform
impl StructuralPartialEq for CollectPlatform
Auto Trait Implementations§
impl Freeze for CollectPlatform
impl RefUnwindSafe for CollectPlatform
impl Send for CollectPlatform
impl Sync for CollectPlatform
impl Unpin for CollectPlatform
impl UnwindSafe for CollectPlatform
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