pub struct HtmlString { /* private fields */ }
Implementations§
Source§impl HtmlString
impl HtmlString
pub fn get_inner(&self) -> Option<HtmlStringInner>
pub fn get_opening_quote(&self) -> Option<SyntaxToken>
pub fn get_closing_quote(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for HtmlString
impl AstNode for HtmlString
type Language = TemplateLanguage
fn can_cast(kind: <Self::Language as Language>::Kind) -> boolwhere
Self: Sized,
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>where
Self: Sized,
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for HtmlString
impl Clone for HtmlString
Source§fn clone(&self) -> HtmlString
fn clone(&self) -> HtmlString
Returns a duplicate 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 HtmlString
impl Debug for HtmlString
Source§impl Display for HtmlString
impl Display for HtmlString
Source§impl Hash for HtmlString
impl Hash for HtmlString
Source§impl PartialEq for HtmlString
impl PartialEq for HtmlString
impl Eq for HtmlString
impl StructuralPartialEq for HtmlString
Auto Trait Implementations§
impl Freeze for HtmlString
impl !RefUnwindSafe for HtmlString
impl !Send for HtmlString
impl !Sync for HtmlString
impl Unpin for HtmlString
impl !UnwindSafe for HtmlString
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