pub struct Partial {
pub name: String,
pub params: Vec<Expression>,
pub span: Range<usize>,
}Expand description
Node representing a partial template reference.
Fields§
§name: StringPartial template name.
params: Vec<Expression>List of parameters.
span: Range<usize>Span in the source code.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Partial
impl<'de> Deserialize<'de> for Partial
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 StructuralPartialEq for Partial
Auto Trait Implementations§
impl Freeze for Partial
impl RefUnwindSafe for Partial
impl Send for Partial
impl Sync for Partial
impl Unpin for Partial
impl UnsafeUnpin for Partial
impl UnwindSafe for Partial
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