Struct ssd_data::ast::Dependency
source · pub struct Dependency {
pub name: Namespace,
pub attributes: Vec<Attribute>,
}Fields§
§name: Namespace§attributes: Vec<Attribute>Implementations§
Trait Implementations§
source§impl Clone for Dependency
impl Clone for Dependency
source§fn clone(&self) -> Dependency
fn clone(&self) -> Dependency
Returns a copy of the value. Read more
1.0.0 · 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 Dependency
impl Debug for Dependency
source§impl<'de> Deserialize<'de> for Dependency
impl<'de> Deserialize<'de> for Dependency
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 ObjectView for Dependency
impl ObjectView for Dependency
source§fn keys<'liquid_derive_k>(
&'liquid_derive_k self
) -> Box<dyn Iterator<Item = KStringCow<'liquid_derive_k>> + 'liquid_derive_k>
fn keys<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = KStringCow<'liquid_derive_k>> + 'liquid_derive_k>
Keys available for lookup.
source§fn values<'liquid_derive_k>(
&'liquid_derive_k self
) -> Box<dyn Iterator<Item = &'liquid_derive_k dyn ValueView> + 'liquid_derive_k>
fn values<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = &'liquid_derive_k dyn ValueView> + 'liquid_derive_k>
Keys available for lookup.
source§fn iter<'liquid_derive_k>(
&'liquid_derive_k self
) -> Box<dyn Iterator<Item = (KStringCow<'liquid_derive_k>, &'liquid_derive_k dyn ValueView)> + 'liquid_derive_k>
fn iter<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = (KStringCow<'liquid_derive_k>, &'liquid_derive_k dyn ValueView)> + 'liquid_derive_k>
Returns an iterator .
source§fn contains_key(&self, index: &str) -> bool
fn contains_key(&self, index: &str) -> bool
Access a contained
BoxedValue.source§impl Serialize for Dependency
impl Serialize for Dependency
source§impl ToString for Dependency
impl ToString for Dependency
source§impl ValueView for Dependency
impl ValueView for Dependency
source§fn query_state(&self, state: State) -> bool
fn query_state(&self, state: State) -> bool
Query the value’s state
Auto Trait Implementations§
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnwindSafe for Dependency
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