pub enum SettingData<'a> {
Int(c_int),
String(&'a [u8]),
Color(XSettingsColor),
None,
}
Variants§
Trait Implementations§
Source§impl<'a> Clone for SettingData<'a>
impl<'a> Clone for SettingData<'a>
Source§fn clone(&self) -> SettingData<'a>
fn clone(&self) -> SettingData<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for SettingData<'a>
impl<'a> Debug for SettingData<'a>
impl<'a> Copy for SettingData<'a>
Auto Trait Implementations§
impl<'a> Freeze for SettingData<'a>
impl<'a> RefUnwindSafe for SettingData<'a>
impl<'a> Send for SettingData<'a>
impl<'a> Sync for SettingData<'a>
impl<'a> Unpin for SettingData<'a>
impl<'a> UnwindSafe for SettingData<'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