pub struct YamlShape { /* private fields */ }Implementations§
Source§impl YamlShape
impl YamlShape
pub fn try_from_str( s: &str, correctness: &YamlCorrectness, base_path: Option<&Path>, ) -> Result<YamlShape, YamlVerifyError>
Source§impl YamlShape
impl YamlShape
pub fn file_path_iter(&self) -> Option<impl Iterator<Item = &Path>>
pub fn file_iter(&self) -> Option<impl Iterator<Item = &File>>
pub fn files(&self) -> Option<&[File]>
pub fn category_str_iter(&self) -> impl Iterator<Item = &str>
pub fn category_iter(&self) -> impl Iterator<Item = &Category>
pub fn categories(&self) -> &[Category]
pub fn hint_iter(&self) -> impl Iterator<Item = &str>
pub fn hints(&self) -> &[String]
pub fn deploy(&self) -> Option<&DeployOptions>
Trait Implementations§
impl StructuralPartialEq for YamlShape
Auto Trait Implementations§
impl Freeze for YamlShape
impl RefUnwindSafe for YamlShape
impl Send for YamlShape
impl Sync for YamlShape
impl Unpin for YamlShape
impl UnwindSafe for YamlShape
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