pub struct Stack {
pub base: String,
pub urls: Vec<String>,
pub fx: Vec<Effect>,
}Expand description
a renderable emote stack: base emote + zero-width overlays + effects. the
key doubles as the render cache identity — layer urls joined by ‘\n’, with
effects (if any) as a final #codes pseudo-layer (‘\n’ and ‘#’-first lines
can’t appear in a real url, so the parse back is unambiguous).
Fields§
§base: String§urls: Vec<String>§fx: Vec<Effect>Implementations§
Trait Implementations§
impl StructuralPartialEq for Stack
Auto Trait Implementations§
impl Freeze for Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnsafeUnpin for Stack
impl UnwindSafe for Stack
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