pub struct SpecRef {
pub label: String,
pub path: PathBuf,
pub anchor: Option<String>,
}Expand description
A reference to another spec file (from requires: or inline links).
Fields§
§label: String§path: PathBuf§anchor: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpecRef
impl<'de> Deserialize<'de> for SpecRef
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
Auto Trait Implementations§
impl Freeze for SpecRef
impl RefUnwindSafe for SpecRef
impl Send for SpecRef
impl Sync for SpecRef
impl Unpin for SpecRef
impl UnsafeUnpin for SpecRef
impl UnwindSafe for SpecRef
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