pub fn set_effect(string: StyledString, effect: Effect) -> StyledString
Expand description
Set the provided effect to all the internal spans of the styled string.
pub fn set_effect(string: StyledString, effect: Effect) -> StyledString
Set the provided effect to all the internal spans of the styled string.