Struct bsp_types::DependencyModulesItem
source · [−]pub struct DependencyModulesItem { /* private fields */ }Implementations
sourceimpl DependencyModulesItem
impl DependencyModulesItem
pub fn new(
target: BuildTargetIdentifier,
modules: Vec<DependencyModule>
) -> Self
sourcepub fn target(&self) -> &BuildTargetIdentifier
pub fn target(&self) -> &BuildTargetIdentifier
Get a reference to the bsp btdependency modules item’s target.
sourcepub fn set_modules(&mut self, modules: Vec<DependencyModule>)
pub fn set_modules(&mut self, modules: Vec<DependencyModule>)
Set the bsp btdependency modules item’s modules.
sourcepub fn modules(&self) -> &[DependencyModule]
pub fn modules(&self) -> &[DependencyModule]
Get a reference to the bsp btdependency modules item’s modules.
Trait Implementations
sourceimpl Debug for DependencyModulesItem
impl Debug for DependencyModulesItem
sourceimpl<'de> Deserialize<'de> for DependencyModulesItem
impl<'de> Deserialize<'de> for DependencyModulesItem
sourcefn 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
sourceimpl PartialEq<DependencyModulesItem> for DependencyModulesItem
impl PartialEq<DependencyModulesItem> for DependencyModulesItem
sourcefn eq(&self, other: &DependencyModulesItem) -> bool
fn eq(&self, other: &DependencyModulesItem) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DependencyModulesItem) -> bool
fn ne(&self, other: &DependencyModulesItem) -> bool
This method tests for !=.
sourceimpl Serialize for DependencyModulesItem
impl Serialize for DependencyModulesItem
impl Eq for DependencyModulesItem
impl StructuralEq for DependencyModulesItem
impl StructuralPartialEq for DependencyModulesItem
Auto Trait Implementations
impl RefUnwindSafe for DependencyModulesItem
impl Send for DependencyModulesItem
impl Sync for DependencyModulesItem
impl Unpin for DependencyModulesItem
impl UnwindSafe for DependencyModulesItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more