[−][src]Struct yaml2json_rs::Yaml2Json
Implementations
impl Yaml2Json
[src]
pub fn new(style: Style) -> Self
[src]
pub fn document_to_string(
&self,
document: String
) -> Result<String, Yaml2JsonError>
[src]
&self,
document: String
) -> Result<String, Yaml2JsonError>
pub fn document_to_writer<W: Write>(
&self,
document: String,
w: &mut W
) -> Result<(), Yaml2JsonError>
[src]
&self,
document: String,
w: &mut W
) -> Result<(), Yaml2JsonError>
Auto Trait Implementations
impl RefUnwindSafe for Yaml2Json
impl Send for Yaml2Json
impl Sync for Yaml2Json
impl Unpin for Yaml2Json
impl UnwindSafe for Yaml2Json
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, 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>,