Struct vscode_generator::package::contributes::Contributes
source · pub struct Contributes {
pub snippets: Vec<SnippetsContribute>,
}Expand description
The package contributes
Fields§
§snippets: Vec<SnippetsContribute>Implementations§
source§impl Contributes
impl Contributes
sourcepub fn reg_snippets(&mut self, contribute: SnippetsContribute)
pub fn reg_snippets(&mut self, contribute: SnippetsContribute)
Registrates a new snippets file
Trait Implementations§
source§impl Clone for Contributes
impl Clone for Contributes
source§fn clone(&self) -> Contributes
fn clone(&self) -> Contributes
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 Contributes
impl Debug for Contributes
Auto Trait Implementations§
impl Freeze for Contributes
impl RefUnwindSafe for Contributes
impl Send for Contributes
impl Sync for Contributes
impl Unpin for Contributes
impl UnwindSafe for Contributes
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)