pub struct ActiveFiles { /* private fields */ }Expand description
Files you’re working on this branch — those that differ from the trunk — plus the directories holding them. Symbols in those files (or their directory neighbors) get a branch boost. Empty on the trunk / outside git.
Implementations§
Source§impl ActiveFiles
impl ActiveFiles
Sourcepub fn new<I: IntoIterator<Item = String>>(paths: I) -> Self
pub fn new<I: IntoIterator<Item = String>>(paths: I) -> Self
Build from a list of repo-relative paths changed on the branch.
Trait Implementations§
Source§impl Clone for ActiveFiles
impl Clone for ActiveFiles
Source§fn clone(&self) -> ActiveFiles
fn clone(&self) -> ActiveFiles
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 moreSource§impl Debug for ActiveFiles
impl Debug for ActiveFiles
Source§impl Default for ActiveFiles
impl Default for ActiveFiles
Source§fn default() -> ActiveFiles
fn default() -> ActiveFiles
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActiveFiles
impl RefUnwindSafe for ActiveFiles
impl Send for ActiveFiles
impl Sync for ActiveFiles
impl Unpin for ActiveFiles
impl UnsafeUnpin for ActiveFiles
impl UnwindSafe for ActiveFiles
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