pub struct Former { /* private fields */ }Expand description
A name a built-in rule had while each had one.
A launcher’s settings written for those rules may still use one to
extend a rule or turn it off. The rules have no names any more, so such
a name reaches nothing; former gives what does the same now.
Its Display form says that, for example "dxmt" was the name of a built-in rule, and built-in rules can no longer be extended or turned off by name.
Implementations§
Source§impl Former
impl Former
Sourcepub fn instead_of_extending(self) -> String
pub fn instead_of_extending(self) -> String
What to do instead of extending the rule by its name, a sentence
without the final period that a launcher can print after its own, for
example Set `dxgi` in a rule for every process or for one program instead.
Sourcepub fn instead_of_turning_off(self) -> String
pub fn instead_of_turning_off(self) -> String
What to do instead of turning the rule off by its name, a sentence
like Former::instead_of_extending.
Trait Implementations§
impl Copy for Former
impl Eq for Former
impl StructuralPartialEq for Former
Auto Trait Implementations§
impl Freeze for Former
impl RefUnwindSafe for Former
impl Send for Former
impl Sync for Former
impl Unpin for Former
impl UnsafeUnpin for Former
impl UnwindSafe for Former
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