Struct sdml_parse::load::Group
source · pub struct Group { /* private fields */ }Expand description
A resolver group allows the common configuration of multiple items.
Implementations§
source§impl Group
impl Group
pub fn relative_path(&self) -> Option<&PathBuf>
pub fn set_relative_path(&mut self, relative_path: PathBuf)
pub fn unset_relative_path(&mut self)
pub fn relative_url(&self) -> Option<&String>
pub fn set_relative_url(&mut self, relative_url: String)
pub fn unset_relative_url(&mut self)
pub fn has_entries(&self) -> bool
pub fn get_entry(&self, key: &String) -> Option<&Item>
pub fn entries_contains_key(&self, key: &String) -> bool
pub fn entries(&self) -> impl Iterator<Item = (&String, &Item)>
pub fn entry_keys(&self) -> impl Iterator<Item = &String>
pub fn entry_values(&self) -> impl Iterator<Item = &Item>
pub fn resolve_uri(&self, base: &Url, module: &String) -> Option<Url>
pub fn resolve_local_path( &self, base: &Path, module: &String ) -> Option<PathBuf>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Group> for CatalogEntry
impl From<Group> for CatalogEntry
Auto Trait Implementations§
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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