[−][src]Struct cobalt::cobalt_model::files::FilesBuilder
Implementations
impl FilesBuilder
[src]
pub fn new<R: Into<PathBuf>>(root_dir: R) -> Result<Self>
[src]
pub fn add_ignore(&mut self, line: &str) -> Result<&mut Self>
[src]
pub fn ignore_hidden(&mut self, ignore: bool) -> Result<&mut Self>
[src]
pub fn limit(&mut self, subtree: PathBuf) -> Result<&mut Self>
[src]
pub fn add_extension(&mut self, ext: &str) -> Result<&mut FilesBuilder>
[src]
pub fn build(&self) -> Result<Files>
[src]
Auto Trait Implementations
impl RefUnwindSafe for FilesBuilder
impl Send for FilesBuilder
impl Sync for FilesBuilder
impl Unpin for FilesBuilder
impl UnwindSafe for FilesBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,