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 of compatdb.so, and the built-in rules have no names any more, so a rule can no longer extend or turn off one by naming it.
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 clause a
launcher can print after its own words, for example set dxgi instead, in a rule matching every process or in a rule for one program.
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 clause
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