pub struct CstTypeSingletonString<'ast> {
pub source_string: AstString<'ast>,
pub quote_style: CstStringQuoteStyle,
pub block_depth: u32,
}Fields§
§source_string: AstString<'ast>§quote_style: CstStringQuoteStyle§block_depth: u32Trait Implementations§
Source§impl<'ast> Clone for CstTypeSingletonString<'ast>
impl<'ast> Clone for CstTypeSingletonString<'ast>
Source§fn clone(&self) -> CstTypeSingletonString<'ast>
fn clone(&self) -> CstTypeSingletonString<'ast>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'ast> Copy for CstTypeSingletonString<'ast>
Source§impl<'ast> Debug for CstTypeSingletonString<'ast>
impl<'ast> Debug for CstTypeSingletonString<'ast>
impl<'ast> Eq for CstTypeSingletonString<'ast>
Source§impl<'ast> Hash for CstTypeSingletonString<'ast>
impl<'ast> Hash for CstTypeSingletonString<'ast>
Source§impl<'ast> PartialEq for CstTypeSingletonString<'ast>
impl<'ast> PartialEq for CstTypeSingletonString<'ast>
impl<'ast> StructuralPartialEq for CstTypeSingletonString<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for CstTypeSingletonString<'ast>
impl<'ast> RefUnwindSafe for CstTypeSingletonString<'ast>
impl<'ast> Send for CstTypeSingletonString<'ast>
impl<'ast> Sync for CstTypeSingletonString<'ast>
impl<'ast> Unpin for CstTypeSingletonString<'ast>
impl<'ast> UnsafeUnpin for CstTypeSingletonString<'ast>
impl<'ast> UnwindSafe for CstTypeSingletonString<'ast>
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