Struct ide_db::SnippetCap
source · pub struct SnippetCap { /* private fields */ }
Implementations§
source§impl SnippetCap
impl SnippetCap
pub const fn new(allow_snippets: bool) -> Option<SnippetCap>
Trait Implementations§
source§impl Clone for SnippetCap
impl Clone for SnippetCap
source§fn clone(&self) -> SnippetCap
fn clone(&self) -> SnippetCap
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 SnippetCap
impl Debug for SnippetCap
source§impl PartialEq for SnippetCap
impl PartialEq for SnippetCap
source§fn eq(&self, other: &SnippetCap) -> bool
fn eq(&self, other: &SnippetCap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SnippetCap
impl Eq for SnippetCap
impl StructuralPartialEq for SnippetCap
Auto Trait Implementations§
impl Freeze for SnippetCap
impl RefUnwindSafe for SnippetCap
impl Send for SnippetCap
impl Sync for SnippetCap
impl Unpin for SnippetCap
impl UnwindSafe for SnippetCap
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
§impl<T> Cast for T
impl<T> Cast for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.