[][src]Struct iced_x86::SymResTextPart

pub struct SymResTextPart<'a> {
    pub text: SymResString<'a>,
    pub color: FormatterTextKind,
}

Contains text and colors

Fields

text: SymResString<'a>

Text

color: FormatterTextKind

Color

Implementations

impl<'a> SymResTextPart<'a>[src]

#[must_use]pub fn new(text: &'a str, color: FormatterTextKind) -> Self[src]

Constructor

Arguments

  • text: Text
  • color: Color

#[must_use]pub fn with_string(text: String, color: FormatterTextKind) -> Self[src]

Constructor

Arguments

  • text: Text
  • color: Color

Trait Implementations

impl<'a> Clone for SymResTextPart<'a>[src]

impl<'a> Debug for SymResTextPart<'a>[src]

impl<'a> Default for SymResTextPart<'a>[src]

impl<'a> Eq for SymResTextPart<'a>[src]

impl<'a> Hash for SymResTextPart<'a>[src]

impl<'a> PartialEq<SymResTextPart<'a>> for SymResTextPart<'a>[src]

impl<'a> StructuralEq for SymResTextPart<'a>[src]

impl<'a> StructuralPartialEq for SymResTextPart<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SymResTextPart<'a>

impl<'a> Send for SymResTextPart<'a>

impl<'a> Sync for SymResTextPart<'a>

impl<'a> Unpin for SymResTextPart<'a>

impl<'a> UnwindSafe for SymResTextPart<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.