[−][src]Enum iced_x86::SymResTextInfo
Contains one or more SymResTextPart
s (text and color)
Variants
Text(SymResTextPart<'a>)
Text and color
TextVec(&'a [SymResTextPart<'a>])
Text and color (vector)
Implementations
impl<'a> SymResTextInfo<'a>
[src]
#[must_use]pub fn new(text: &'a str, color: FormatterTextKind) -> Self
[src]
#[must_use]pub fn with_string(text: String, color: FormatterTextKind) -> Self
[src]
#[must_use]pub fn with_text(text: SymResTextPart<'a>) -> Self
[src]
#[must_use]pub fn with_vec(text: &'a [SymResTextPart<'a>]) -> Self
[src]
Trait Implementations
impl<'a> Clone for SymResTextInfo<'a>
[src]
fn clone(&self) -> SymResTextInfo<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for SymResTextInfo<'a>
[src]
impl<'a> Eq for SymResTextInfo<'a>
[src]
impl<'a> Hash for SymResTextInfo<'a>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a> PartialEq<SymResTextInfo<'a>> for SymResTextInfo<'a>
[src]
fn eq(&self, other: &SymResTextInfo<'a>) -> bool
[src]
fn ne(&self, other: &SymResTextInfo<'a>) -> bool
[src]
impl<'a> StructuralEq for SymResTextInfo<'a>
[src]
impl<'a> StructuralPartialEq for SymResTextInfo<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SymResTextInfo<'a>
impl<'a> Send for SymResTextInfo<'a>
impl<'a> Sync for SymResTextInfo<'a>
impl<'a> Unpin for SymResTextInfo<'a>
impl<'a> UnwindSafe for SymResTextInfo<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,