pub struct CompiledIncludePattern {
pub origin_scope: String,
pub include: String,
pub apply_prototype: bool,
}Expand description
A compiled include: pattern.
Fields§
§origin_scope: StringScope of the syntax that produced this pattern.
include: StringThe include reference string (e.g. #main, scope:..., Packages/...).
apply_prototype: boolWhether to apply the including syntax’s prototype.
Trait Implementations§
Source§impl Clone for CompiledIncludePattern
impl Clone for CompiledIncludePattern
Source§fn clone(&self) -> CompiledIncludePattern
fn clone(&self) -> CompiledIncludePattern
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 moreAuto Trait Implementations§
impl Freeze for CompiledIncludePattern
impl RefUnwindSafe for CompiledIncludePattern
impl Send for CompiledIncludePattern
impl Sync for CompiledIncludePattern
impl Unpin for CompiledIncludePattern
impl UnsafeUnpin for CompiledIncludePattern
impl UnwindSafe for CompiledIncludePattern
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