pub struct SigilExpansion {
pub paths: Vec<String>,
pub suffix: String,
}Expand description
Result of expanding a sigil like @todo or @config.
Fields§
§paths: Vec<String>Expanded file paths (may be multiple, e.g., [“TODO.md”, “TASKS.md”])
suffix: StringRemaining path after the sigil (e.g., “Section/Item” from “@todo/Section/Item”)
Trait Implementations§
Source§impl Clone for SigilExpansion
impl Clone for SigilExpansion
Source§fn clone(&self) -> SigilExpansion
fn clone(&self) -> SigilExpansion
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 moreAuto Trait Implementations§
impl Freeze for SigilExpansion
impl RefUnwindSafe for SigilExpansion
impl Send for SigilExpansion
impl Sync for SigilExpansion
impl Unpin for SigilExpansion
impl UnsafeUnpin for SigilExpansion
impl UnwindSafe for SigilExpansion
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