Struct libcst_native::FormattedStringText
source · pub struct FormattedStringText<'a> {
pub value: &'a str,
}
Fields§
§value: &'a str
Trait Implementations§
source§impl<'a> Clone for FormattedStringText<'a>
impl<'a> Clone for FormattedStringText<'a>
source§fn clone(&self) -> FormattedStringText<'a>
fn clone(&self) -> FormattedStringText<'a>
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<'a> Codegen<'a> for FormattedStringText<'a>
impl<'a> Codegen<'a> for FormattedStringText<'a>
fn codegen(&self, state: &mut CodegenState<'a>)
source§impl<'a> Debug for FormattedStringText<'a>
impl<'a> Debug for FormattedStringText<'a>
source§impl<'a> PartialEq for FormattedStringText<'a>
impl<'a> PartialEq for FormattedStringText<'a>
source§fn eq(&self, other: &FormattedStringText<'a>) -> bool
fn eq(&self, other: &FormattedStringText<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for FormattedStringText<'a>
impl<'a> StructuralPartialEq for FormattedStringText<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FormattedStringText<'a>
impl<'a> Send for FormattedStringText<'a>
impl<'a> Sync for FormattedStringText<'a>
impl<'a> Unpin for FormattedStringText<'a>
impl<'a> UnwindSafe for FormattedStringText<'a>
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