[][src]Struct ncursesw::ComplexString

pub struct ComplexString { /* fields omitted */ }

Complex character string (wide characters and renditions).

Methods

impl ComplexString[src]

pub fn new() -> Self[src]

pub fn from_wide_string<A, P, T>(
    str: &WideString,
    attrs: &A,
    color_pair: &P
) -> Result<Self, NCurseswError> where
    A: AttributesType<T>,
    P: ColorPairType<T>,
    T: ColorAttributeTypes
[src]

pub fn from_str<A, P, T>(
    str: &str,
    attrs: &A,
    color_pair: &P
) -> Result<Self, NCurseswError> where
    A: AttributesType<T>,
    P: ColorPairType<T>,
    T: ColorAttributeTypes
[src]

pub fn with_capacity(capacity: usize) -> Self[src]

pub fn push_str(&mut self, rhs: &Self)[src]

pub fn capacity(&self) -> usize[src]

pub fn reserve(&mut self, additional: usize)[src]

pub fn reserve_exact(&mut self, additional: usize)[src]

pub fn shrink_to_fit(&mut self)[src]

pub fn push(&mut self, rhs: &ComplexChar)[src]

pub fn truncate(&mut self, new_len: usize)[src]

pub fn pop(&mut self) -> Option<ComplexChar>[src]

pub fn remove(&mut self, idx: usize) -> ComplexChar[src]

pub fn insert(&mut self, idx: usize, ch: ComplexChar)[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl Clone for ComplexString[src]

impl Debug for ComplexString[src]

impl Default for ComplexString[src]

impl Eq for ComplexString[src]

impl<'a> From<&'a [cchar_t]> for ComplexString[src]

impl<'a> From<&'a Vec<ComplexChar>> for ComplexString[src]

impl Hash for ComplexString[src]

impl Into<Vec<ComplexChar>> for ComplexString[src]

impl Into<Vec<cchar_t>> for ComplexString[src]

impl PartialEq<ComplexString> for ComplexString[src]

impl StructuralEq for ComplexString[src]

impl StructuralPartialEq for ComplexString[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.