pub struct BuildTargetDependencyModules { /* private fields */ }Expand description
The build target dependency modules request is sent from the client to the server to query for the libraries of build target dependencies that are external to the workspace including meta information about library and their sources. It’s an extended version of buildTarget/sources.
Implementations§
Source§impl BuildTargetDependencyModules
impl BuildTargetDependencyModules
Sourcepub fn targets(&self) -> &[BuildTargetIdentifier]
pub fn targets(&self) -> &[BuildTargetIdentifier]
Get a reference to the bsp btclean cache params’s targets.
Sourcepub fn targets_mut(&mut self) -> &mut Vec<BuildTargetIdentifier>
pub fn targets_mut(&mut self) -> &mut Vec<BuildTargetIdentifier>
Get a mutable reference to the bsp btclean cache params’s targets.
pub fn is_empty(&self) -> bool
Sourcepub fn set_targets(&mut self, targets: Vec<BuildTargetIdentifier>)
pub fn set_targets(&mut self, targets: Vec<BuildTargetIdentifier>)
Set the bsp btclean cache params’s targets.
Trait Implementations§
Source§impl Clone for BuildTargetDependencyModules
impl Clone for BuildTargetDependencyModules
Source§fn clone(&self) -> BuildTargetDependencyModules
fn clone(&self) -> BuildTargetDependencyModules
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 BuildTargetDependencyModules
impl Debug for BuildTargetDependencyModules
Source§impl<'de> Deserialize<'de> for BuildTargetDependencyModules
impl<'de> Deserialize<'de> for BuildTargetDependencyModules
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 BuildTargetDependencyModules
impl PartialEq for BuildTargetDependencyModules
Source§fn eq(&self, other: &BuildTargetDependencyModules) -> bool
fn eq(&self, other: &BuildTargetDependencyModules) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BuildTargetDependencyModules
impl StructuralPartialEq for BuildTargetDependencyModules
Auto Trait Implementations§
impl Freeze for BuildTargetDependencyModules
impl RefUnwindSafe for BuildTargetDependencyModules
impl Send for BuildTargetDependencyModules
impl Sync for BuildTargetDependencyModules
impl Unpin for BuildTargetDependencyModules
impl UnwindSafe for BuildTargetDependencyModules
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