[−][src]Struct kas::text::Effect
Effect formatting marker
Fields
start: u32
Index in text at which formatting becomes active
(Note that we use u32
not usize
since it can be assumed text length
will never exeed u32::MAX
.)
flags: EffectFlags
Effect flags
aux: X
User payload
Trait Implementations
impl<X> Clone for Effect<X> where
X: Clone,
[src]
X: Clone,
impl<X> Debug for Effect<X> where
X: Debug,
[src]
X: Debug,
impl<X> Default for Effect<X> where
X: Default,
[src]
X: Default,
impl<X> PartialEq<Effect<X>> for Effect<X> where
X: PartialEq<X>,
[src]
X: PartialEq<X>,
impl<X> StructuralPartialEq for Effect<X>
[src]
Auto Trait Implementations
impl<X> RefUnwindSafe for Effect<X> where
X: RefUnwindSafe,
X: RefUnwindSafe,
impl<X> Send for Effect<X> where
X: Send,
X: Send,
impl<X> Sync for Effect<X> where
X: Sync,
X: Sync,
impl<X> Unpin for Effect<X> where
X: Unpin,
X: Unpin,
impl<X> UnwindSafe for Effect<X> where
X: UnwindSafe,
X: UnwindSafe,
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>,