#[repr(transparent)]pub struct ColorReference(_);Implementations
sourceimpl ColorReference
impl ColorReference
pub fn command(&self) -> Option<SyntaxToken>
pub fn name(&self) -> Option<CurlyGroupWord>
Trait Implementations
sourceimpl AstNode for ColorReference
impl AstNode for ColorReference
type Language = LatexLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>where
Self: Sized,
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Self
fn clone_subtree(&self) -> Self
sourceimpl Clone for ColorReference
impl Clone for ColorReference
sourcefn clone(&self) -> ColorReference
fn clone(&self) -> ColorReference
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl !RefUnwindSafe for ColorReference
impl !Send for ColorReference
impl !Sync for ColorReference
impl Unpin for ColorReference
impl !UnwindSafe for ColorReference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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