Struct kas_text::Effect [−][src]
pub struct Effect<X> {
pub start: u32,
pub flags: EffectFlags,
pub aux: X,
}
Expand description
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
Implementations
Trait Implementations
Auto Trait Implementations
impl<X> RefUnwindSafe for Effect<X> where
X: RefUnwindSafe,
impl<X> UnwindSafe for Effect<X> where
X: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Cast to integer, truncating Read more
Cast to the nearest integer Read more
Cast the floor to an integer Read more
Try converting to integer with truncation Read more
Try converting to the nearest integer Read more
Try converting the floor to an integer Read more
Try convert the ceiling to an integer Read more