pub struct SerdeUnityLoader;Expand description
Unity YAML loader based on serde_yaml
Implementations§
Source§impl SerdeUnityLoader
impl SerdeUnityLoader
Sourcepub fn load_from_reader<R: Read>(&self, reader: R) -> Result<Vec<UnityClass>>
pub fn load_from_reader<R: Read>(&self, reader: R) -> Result<Vec<UnityClass>>
Load Unity YAML from a reader
pub fn load_from_reader_detailed<R: Read>( &self, reader: R, ) -> Result<(Vec<UnityClass>, Vec<SerdeUnityWarning>)>
Sourcepub fn load_from_str(&self, yaml_str: &str) -> Result<Vec<UnityClass>>
pub fn load_from_str(&self, yaml_str: &str) -> Result<Vec<UnityClass>>
Load Unity YAML from a string
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SerdeUnityLoader
impl RefUnwindSafe for SerdeUnityLoader
impl Send for SerdeUnityLoader
impl Sync for SerdeUnityLoader
impl Unpin for SerdeUnityLoader
impl UnwindSafe for SerdeUnityLoader
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