Struct workflow_terminal::unicode::UnicodeString
source · pub struct UnicodeString(pub Vec<char>);
Tuple Fields§
§0: Vec<char>
Implementations§
source§impl UnicodeString
impl UnicodeString
pub fn clear(&mut self)
pub fn pop(&mut self) -> Option<char>
pub fn remove(&mut self, index: usize) -> char
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn is_not_empty(&self) -> bool
pub fn push(&mut self, c: char)
pub fn insert_char(&mut self, index: usize, c: char)
pub fn insert(&mut self, index: usize, us: UnicodeString)
pub fn extend(&mut self, us: UnicodeString)
pub fn iter(&self) -> impl Iterator<Item = &char>
Trait Implementations§
source§impl Clone for UnicodeString
impl Clone for UnicodeString
source§fn clone(&self) -> UnicodeString
fn clone(&self) -> UnicodeString
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnicodeString
impl Debug for UnicodeString
source§impl Default for UnicodeString
impl Default for UnicodeString
source§fn default() -> UnicodeString
fn default() -> UnicodeString
Returns the “default value” for a type. Read more
source§impl Display for UnicodeString
impl Display for UnicodeString
source§impl From<&[char]> for UnicodeString
impl From<&[char]> for UnicodeString
source§impl From<&str> for UnicodeString
impl From<&str> for UnicodeString
source§impl From<String> for UnicodeString
impl From<String> for UnicodeString
Auto Trait Implementations§
impl RefUnwindSafe for UnicodeString
impl Send for UnicodeString
impl Sync for UnicodeString
impl Unpin for UnicodeString
impl UnwindSafe for UnicodeString
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