pub struct DependencySourcesItem { /* private fields */ }Implementations§
Source§impl DependencySourcesItem
impl DependencySourcesItem
Sourcepub fn sources(&self) -> &[String]
pub fn sources(&self) -> &[String]
Get a reference to the dependency sources item’s sources.
List of resources containing source files of the
- target’s dependencies.
- Can be source files, jar files, zip files, or directories.
Sourcepub fn target(&self) -> &BuildTargetIdentifier
pub fn target(&self) -> &BuildTargetIdentifier
Get a reference to the dependency sources item’s target.
Sourcepub fn set_target(&mut self, target: BuildTargetIdentifier)
pub fn set_target(&mut self, target: BuildTargetIdentifier)
Set the dependency sources item’s target.
Sourcepub fn set_sources(&mut self, sources: Vec<String>)
pub fn set_sources(&mut self, sources: Vec<String>)
Set the dependency sources item’s sources.
Trait Implementations§
Source§impl Debug for DependencySourcesItem
impl Debug for DependencySourcesItem
Source§impl<'de> Deserialize<'de> for DependencySourcesItem
impl<'de> Deserialize<'de> for DependencySourcesItem
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
Source§impl PartialEq for DependencySourcesItem
impl PartialEq for DependencySourcesItem
Source§impl Serialize for DependencySourcesItem
impl Serialize for DependencySourcesItem
impl Eq for DependencySourcesItem
impl StructuralPartialEq for DependencySourcesItem
Auto Trait Implementations§
impl Freeze for DependencySourcesItem
impl RefUnwindSafe for DependencySourcesItem
impl Send for DependencySourcesItem
impl Sync for DependencySourcesItem
impl Unpin for DependencySourcesItem
impl UnwindSafe for DependencySourcesItem
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