Struct bsp_types::BuildTargetDependencyModules
source · [−]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
sourceimpl 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
sourceimpl Clone for BuildTargetDependencyModules
impl Clone for BuildTargetDependencyModules
sourcefn clone(&self) -> BuildTargetDependencyModules
fn clone(&self) -> BuildTargetDependencyModules
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BuildTargetDependencyModules
impl Debug for BuildTargetDependencyModules
sourceimpl<'de> Deserialize<'de> for BuildTargetDependencyModules
impl<'de> Deserialize<'de> for BuildTargetDependencyModules
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<BuildTargetDependencyModules> for BuildTargetDependencyModules
impl PartialEq<BuildTargetDependencyModules> for BuildTargetDependencyModules
sourcefn eq(&self, other: &BuildTargetDependencyModules) -> bool
fn eq(&self, other: &BuildTargetDependencyModules) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BuildTargetDependencyModules) -> bool
fn ne(&self, other: &BuildTargetDependencyModules) -> bool
This method tests for !=.
impl Eq for BuildTargetDependencyModules
impl StructuralEq for BuildTargetDependencyModules
impl StructuralPartialEq for BuildTargetDependencyModules
Auto Trait Implementations
impl RefUnwindSafe for BuildTargetDependencyModules
impl Send for BuildTargetDependencyModules
impl Sync for BuildTargetDependencyModules
impl Unpin for BuildTargetDependencyModules
impl UnwindSafe for BuildTargetDependencyModules
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more