pub struct TomlStringBuilder<'s> { /* private fields */ }
Implementations§
Source§impl<'s> TomlStringBuilder<'s>
impl<'s> TomlStringBuilder<'s>
pub fn new(decoded: &'s str) -> Self
pub fn as_default(&self) -> TomlString<'s>
pub fn as_literal(&self) -> Option<TomlString<'s>>
pub fn as_ml_literal(&self) -> Option<TomlString<'s>>
pub fn as_basic_pretty(&self) -> Option<TomlString<'s>>
pub fn as_ml_basic_pretty(&self) -> Option<TomlString<'s>>
pub fn as_basic(&self) -> TomlString<'s>
pub fn as_ml_basic(&self) -> TomlString<'s>
Trait Implementations§
Source§impl<'s> Clone for TomlStringBuilder<'s>
impl<'s> Clone for TomlStringBuilder<'s>
Source§fn clone(&self) -> TomlStringBuilder<'s>
fn clone(&self) -> TomlStringBuilder<'s>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'s> Debug for TomlStringBuilder<'s>
impl<'s> Debug for TomlStringBuilder<'s>
impl<'s> Copy for TomlStringBuilder<'s>
Auto Trait Implementations§
impl<'s> Freeze for TomlStringBuilder<'s>
impl<'s> RefUnwindSafe for TomlStringBuilder<'s>
impl<'s> Send for TomlStringBuilder<'s>
impl<'s> Sync for TomlStringBuilder<'s>
impl<'s> Unpin for TomlStringBuilder<'s>
impl<'s> UnwindSafe for TomlStringBuilder<'s>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes