Struct sdml_parse::load::Item
source · pub struct Item { /* private fields */ }Expand description
A specific resolver item.
Implementations§
source§impl Item
impl Item
pub fn relative_path(&self) -> &PathBuf
pub fn set_relative_path(&mut self, relative_path: PathBuf)
pub fn relative_url(&self) -> &String
pub fn set_relative_url(&mut self, relative_url: String)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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<Item> for CatalogEntry
impl From<Item> for CatalogEntry
Auto Trait Implementations§
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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