pub struct BuiltLeanCapability { /* private fields */ }Expand description
Metadata produced by CargoLeanCapability.
Implementations§
Source§impl BuiltLeanCapability
impl BuiltLeanCapability
Sourcepub fn dylib_path(&self) -> &Path
pub fn dylib_path(&self) -> &Path
Built shared-library path.
Sourcepub fn manifest_path(&self) -> &Path
pub fn manifest_path(&self) -> &Path
JSON artifact manifest path emitted by the build helper.
Sourcepub fn manifest_env_var(&self) -> &str
pub fn manifest_env_var(&self) -> &str
Cargo environment variable that stores the artifact manifest path.
Sourcepub fn target_name(&self) -> &str
pub fn target_name(&self) -> &str
Lake target name.
Sourcepub fn project_root(&self) -> &Path
pub fn project_root(&self) -> &Path
Canonical Lake project root.
Trait Implementations§
Source§impl Clone for BuiltLeanCapability
impl Clone for BuiltLeanCapability
Source§fn clone(&self) -> BuiltLeanCapability
fn clone(&self) -> BuiltLeanCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuiltLeanCapability
impl Debug for BuiltLeanCapability
Source§impl PartialEq for BuiltLeanCapability
impl PartialEq for BuiltLeanCapability
Source§fn eq(&self, other: &BuiltLeanCapability) -> bool
fn eq(&self, other: &BuiltLeanCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BuiltLeanCapability
impl StructuralPartialEq for BuiltLeanCapability
Auto Trait Implementations§
impl Freeze for BuiltLeanCapability
impl RefUnwindSafe for BuiltLeanCapability
impl Send for BuiltLeanCapability
impl Sync for BuiltLeanCapability
impl Unpin for BuiltLeanCapability
impl UnsafeUnpin for BuiltLeanCapability
impl UnwindSafe for BuiltLeanCapability
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