enum SettingOrPreset<'a> {
Setting(&'a Setting),
Preset(&'a Preset),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'a> Hash for SettingOrPreset<'a>
impl<'a> Hash for SettingOrPreset<'a>
source§impl<'a> PartialEq<SettingOrPreset<'a>> for SettingOrPreset<'a>
impl<'a> PartialEq<SettingOrPreset<'a>> for SettingOrPreset<'a>
source§fn eq(&self, other: &SettingOrPreset<'a>) -> bool
fn eq(&self, other: &SettingOrPreset<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for SettingOrPreset<'a>
impl<'a> StructuralEq for SettingOrPreset<'a>
impl<'a> StructuralPartialEq for SettingOrPreset<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SettingOrPreset<'a>
impl<'a> Send for SettingOrPreset<'a>
impl<'a> Sync for SettingOrPreset<'a>
impl<'a> Unpin for SettingOrPreset<'a>
impl<'a> UnwindSafe for SettingOrPreset<'a>
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