Struct rustpython_literal::escape::UnicodeEscape
source · pub struct UnicodeEscape<'a> { /* private fields */ }
Implementations§
source§impl<'a> UnicodeEscape<'a>
impl<'a> UnicodeEscape<'a>
source§impl UnicodeEscape<'_>
impl UnicodeEscape<'_>
pub fn repr_layout(source: &str, preferred_quote: Quote) -> EscapeLayout
Trait Implementations§
source§impl<'a> Escape for UnicodeEscape<'a>
impl<'a> Escape for UnicodeEscape<'a>
fn source_len(&self) -> usize
fn layout(&self) -> &EscapeLayout
fn write_source(&self, formatter: &mut impl Write) -> Result
fn write_body_slow(&self, formatter: &mut impl Write) -> Result
fn changed(&self) -> bool
fn write_body(&self, formatter: &mut impl Write) -> Result
Auto Trait Implementations§
impl<'a> Freeze for UnicodeEscape<'a>
impl<'a> RefUnwindSafe for UnicodeEscape<'a>
impl<'a> Send for UnicodeEscape<'a>
impl<'a> Sync for UnicodeEscape<'a>
impl<'a> Unpin for UnicodeEscape<'a>
impl<'a> UnwindSafe for UnicodeEscape<'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