[−][src]Struct guppy::graph::feature::CrossLink
A feature dependency across packages.
This is currently an opaque type -- it will be filled out in the future.
Implementations
impl<'g> CrossLink<'g>
[src]
pub fn from(&self) -> FeatureMetadata<'g>
[src]
Returns the feature which depends on the to
feature.
pub fn to(&self) -> FeatureMetadata<'g>
[src]
Returns the feature which is depended on by the from
feature.
pub fn endpoints(&self) -> (FeatureMetadata<'g>, FeatureMetadata<'g>)
[src]
Returns the endpoints as a pair of features (from, to)
.
pub fn normal(&self) -> PlatformStatus<'g>
[src]
Returns details about this feature dependency from the [dependencies]
section.
pub fn build(&self) -> PlatformStatus<'g>
[src]
Returns details about this feature dependency from the [build-dependencies]
section.
pub fn dev(&self) -> PlatformStatus<'g>
[src]
Returns details about this feature dependency from the [dev-dependencies]
section.
pub fn status_for_kind(&self, kind: DependencyKind) -> PlatformStatus<'g>
[src]
Returns details about this feature dependency from the section specified by the given dependency kind.
pub fn dev_only(&self) -> bool
[src]
Returns true if this edge is dev-only, i.e. code from this edge will not be included in normal builds.
pub fn package_link(&self) -> PackageLink<'g>
[src]
Returns the PackageLink
from which this CrossLink
was derived.
Trait Implementations
impl<'g> Clone for CrossLink<'g>
[src]
impl<'g> Copy for CrossLink<'g>
[src]
impl<'g> Debug for CrossLink<'g>
[src]
Auto Trait Implementations
impl<'g> RefUnwindSafe for CrossLink<'g>
impl<'g> Send for CrossLink<'g>
impl<'g> Sync for CrossLink<'g>
impl<'g> Unpin for CrossLink<'g>
impl<'g> UnwindSafe for CrossLink<'g>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Clone + Send + Sync,
[src]
T: 'a + Clone + Send + Sync,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a>
[src]
fn self_address_mut(&mut self) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
[src]
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a>
[src]
fn self_address_mut(&mut self) -> *mut ()
[src]
impl<T> SafeBorrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,