pub struct FileOptionsBuilder { /* private fields */ }Implementations§
Source§impl FileOptionsBuilder
impl FileOptionsBuilder
pub fn user(self, user: impl Into<String>) -> Self
pub fn group(self, group: impl Into<String>) -> Self
pub fn symlink(self, symlink: impl Into<String>) -> Self
pub fn mode(self, mode: impl Into<FileMode>) -> Self
pub fn is_doc(self) -> Self
pub fn is_config(self) -> Self
pub fn is_ghost(self) -> Self
pub fn is_license(self) -> Self
pub fn is_readme(self) -> Self
Trait Implementations§
Source§impl From<FileOptionsBuilder> for FileOptions
impl From<FileOptionsBuilder> for FileOptions
Source§fn from(builder: FileOptionsBuilder) -> Self
fn from(builder: FileOptionsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileOptionsBuilder
impl RefUnwindSafe for FileOptionsBuilder
impl Send for FileOptionsBuilder
impl Sync for FileOptionsBuilder
impl Unpin for FileOptionsBuilder
impl UnwindSafe for FileOptionsBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more