pub struct YamlFormat { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for YamlFormat
impl Clone for YamlFormat
Source§fn clone(&self) -> YamlFormat
fn clone(&self) -> YamlFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ContentFormat for YamlFormat
impl ContentFormat for YamlFormat
fn expected_extensions(&self) -> &[&str]
fn script_is_acceptable(&self, _script: &str) -> bool
fn script_to_content( &self, ctx: &ContextHandle, script: &str, ) -> Result<Box<dyn Content>, Box<dyn Error>>
fn path_is_acceptable(&self, path: &Path) -> bool
Source§impl Debug for YamlFormat
impl Debug for YamlFormat
Source§impl Default for YamlFormat
impl Default for YamlFormat
Source§fn default() -> YamlFormat
fn default() -> YamlFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for YamlFormat
impl RefUnwindSafe for YamlFormat
impl Send for YamlFormat
impl Sync for YamlFormat
impl Unpin for YamlFormat
impl UnwindSafe for YamlFormat
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