Enum iced_x86::SymResString
source · pub enum SymResString<'a> {
Str(&'a str),
String(String),
}
Expand description
Contains a &'a str
or a String
Variants§
Trait Implementations§
source§impl<'a> Clone for SymResString<'a>
impl<'a> Clone for SymResString<'a>
source§fn clone(&self) -> SymResString<'a>
fn clone(&self) -> SymResString<'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 SymResString<'a>
impl<'a> Debug for SymResString<'a>
source§impl Default for SymResString<'_>
impl Default for SymResString<'_>
source§impl<'a> Hash for SymResString<'a>
impl<'a> Hash for SymResString<'a>
source§impl<'a> PartialEq for SymResString<'a>
impl<'a> PartialEq for SymResString<'a>
source§fn eq(&self, other: &SymResString<'a>) -> bool
fn eq(&self, other: &SymResString<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for SymResString<'a>
impl<'a> StructuralEq for SymResString<'a>
impl<'a> StructuralPartialEq for SymResString<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SymResString<'a>
impl<'a> Send for SymResString<'a>
impl<'a> Sync for SymResString<'a>
impl<'a> Unpin for SymResString<'a>
impl<'a> UnwindSafe for SymResString<'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