Struct sbnf::sublime_syntax::Embed
source · pub struct Embed {
pub embed: String,
pub embed_scope: Scope,
pub escape: Option<Pattern>,
pub escape_captures: Vec<Scope>,
}
Fields§
§embed: String
§embed_scope: Scope
§escape: Option<Pattern>
§escape_captures: Vec<Scope>
Trait Implementations§
source§impl PartialEq for Embed
impl PartialEq for Embed
impl Eq for Embed
impl StructuralEq for Embed
impl StructuralPartialEq for Embed
Auto Trait Implementations§
impl RefUnwindSafe for Embed
impl Send for Embed
impl Sync for Embed
impl Unpin for Embed
impl UnwindSafe for Embed
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.