pub struct IncludeDirective {
pub span: Span,
pub path: String,
}Expand description
One #include "..." directive.
Fields§
§span: SpanSource span covering the directive.
path: StringIncluded script path payload.
Trait Implementations§
Source§impl Clone for IncludeDirective
impl Clone for IncludeDirective
Source§fn clone(&self) -> IncludeDirective
fn clone(&self) -> IncludeDirective
Returns a duplicate 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 IncludeDirective
impl Debug for IncludeDirective
Source§impl<'de> Deserialize<'de> for IncludeDirective
impl<'de> Deserialize<'de> for IncludeDirective
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 PartialEq for IncludeDirective
impl PartialEq for IncludeDirective
Source§impl Serialize for IncludeDirective
impl Serialize for IncludeDirective
impl StructuralPartialEq for IncludeDirective
Auto Trait Implementations§
impl Freeze for IncludeDirective
impl RefUnwindSafe for IncludeDirective
impl Send for IncludeDirective
impl Sync for IncludeDirective
impl Unpin for IncludeDirective
impl UnsafeUnpin for IncludeDirective
impl UnwindSafe for IncludeDirective
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