pub struct WorkspaceMemberTasksConfig {
pub deno_json: Option<WorkspaceMemberTasksConfigFile<Task>>,
pub package_json: Option<WorkspaceMemberTasksConfigFile<String>>,
}
Fields§
§deno_json: Option<WorkspaceMemberTasksConfigFile<Task>>
§package_json: Option<WorkspaceMemberTasksConfigFile<String>>
Implementations§
Source§impl WorkspaceMemberTasksConfig
impl WorkspaceMemberTasksConfig
pub fn with_only_pkg_json(self) -> Self
pub fn is_empty(&self) -> bool
pub fn tasks_count(&self) -> usize
pub fn task(&self, name: &str) -> Option<(&Url, TaskOrScript<'_>)>
Trait Implementations§
Source§impl Clone for WorkspaceMemberTasksConfig
impl Clone for WorkspaceMemberTasksConfig
Source§fn clone(&self) -> WorkspaceMemberTasksConfig
fn clone(&self) -> WorkspaceMemberTasksConfig
Returns a copy 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 WorkspaceMemberTasksConfig
impl Debug for WorkspaceMemberTasksConfig
impl Eq for WorkspaceMemberTasksConfig
impl StructuralPartialEq for WorkspaceMemberTasksConfig
Auto Trait Implementations§
impl Freeze for WorkspaceMemberTasksConfig
impl RefUnwindSafe for WorkspaceMemberTasksConfig
impl Send for WorkspaceMemberTasksConfig
impl Sync for WorkspaceMemberTasksConfig
impl Unpin for WorkspaceMemberTasksConfig
impl UnwindSafe for WorkspaceMemberTasksConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.