pub enum ReadDependency {
Direct {
path: Vec<Rc<str>>,
span: (u32, u32),
via_index: bool,
},
Iteration {
collection: Vec<Rc<str>>,
span: (u32, u32),
alias: Option<Rc<str>>,
reads: Vec<ReadDependency>,
},
Unresolved {
path: Vec<Rc<str>>,
span: (u32, u32),
},
}Variants§
Implementations§
Source§impl ReadDependency
impl ReadDependency
pub fn without_spans(&self) -> Self
Trait Implementations§
Source§impl Clone for ReadDependency
impl Clone for ReadDependency
Source§fn clone(&self) -> ReadDependency
fn clone(&self) -> ReadDependency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadDependency
impl Debug for ReadDependency
Source§impl<'de> Deserialize<'de> for ReadDependency
impl<'de> Deserialize<'de> for ReadDependency
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
impl Eq for ReadDependency
Source§impl PartialEq for ReadDependency
impl PartialEq for ReadDependency
Source§impl Serialize for ReadDependency
impl Serialize for ReadDependency
impl StructuralPartialEq for ReadDependency
Auto Trait Implementations§
impl !Send for ReadDependency
impl !Sync for ReadDependency
impl Freeze for ReadDependency
impl RefUnwindSafe for ReadDependency
impl Unpin for ReadDependency
impl UnsafeUnpin for ReadDependency
impl UnwindSafe for ReadDependency
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