pub struct BinaryTarget {
pub name: String,
pub path: Option<PathBuf>,
}Expand description
Binary target information.
Fields§
§name: StringBinary name
path: Option<PathBuf>Path to main.rs or binary source
Trait Implementations§
Source§impl Clone for BinaryTarget
impl Clone for BinaryTarget
Source§fn clone(&self) -> BinaryTarget
fn clone(&self) -> BinaryTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinaryTarget
impl Debug for BinaryTarget
Source§impl<'de> Deserialize<'de> for BinaryTarget
impl<'de> Deserialize<'de> for BinaryTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BinaryTarget
impl RefUnwindSafe for BinaryTarget
impl Send for BinaryTarget
impl Sync for BinaryTarget
impl Unpin for BinaryTarget
impl UnsafeUnpin for BinaryTarget
impl UnwindSafe for BinaryTarget
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