Struct fluent_fmt::FluentFormatter [−][src]
Implementations
impl FluentFormatter
[src]
pub fn get_buffer(&self) -> &str
[src]
pub fn swap_indent(&mut self, rhs: &mut String)
[src]
pub fn write_new_indent<T: PrettyPrint>(
&mut self,
body: &T,
indent: &str
) -> Result
[src]
&mut self,
body: &T,
indent: &str
) -> Result
pub fn write_with_indent(&mut self, line: &str)
[src]
pub fn write_new_line(&mut self)
[src]
pub fn tab(&self) -> String
[src]
pub fn clear(&mut self)
[src]
pub fn pretty_print(&mut self, text: impl PrettyPrint) -> Result<&str, Error>
[src]
Trait Implementations
impl Clone for FluentFormatter
[src]
fn clone(&self) -> FluentFormatter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FluentFormatter
[src]
impl Default for FluentFormatter
[src]
impl Write for FluentFormatter
[src]
Auto Trait Implementations
impl RefUnwindSafe for FluentFormatter
impl Send for FluentFormatter
impl Sync for FluentFormatter
impl Unpin for FluentFormatter
impl UnwindSafe for FluentFormatter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,