[−][src]Struct ncursesw::ComplexString
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]
str: &WideString,
attrs: &A,
color_pair: &P
) -> Result<Self, NCurseswError> where
A: AttributesType<T>,
P: ColorPairType<T>,
T: ColorAttributeTypes,
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]
str: &str,
attrs: &A,
color_pair: &P
) -> Result<Self, NCurseswError> where
A: AttributesType<T>,
P: ColorPairType<T>,
T: ColorAttributeTypes,
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]
fn clone(&self) -> ComplexString
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(vwch: &'a Vec<ComplexChar>) -> Self
[src]
impl Hash for ComplexString
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<Vec<ComplexChar>> for ComplexString
[src]
fn into(self) -> Vec<ComplexChar>
[src]
impl Into<Vec<cchar_t>> for ComplexString
[src]
impl PartialEq<ComplexString> for ComplexString
[src]
fn eq(&self, other: &ComplexString) -> bool
[src]
fn ne(&self, other: &ComplexString) -> bool
[src]
impl StructuralEq for ComplexString
[src]
impl StructuralPartialEq for ComplexString
[src]
Auto Trait Implementations
impl RefUnwindSafe for ComplexString
impl Send for ComplexString
impl Sync for ComplexString
impl Unpin for ComplexString
impl UnwindSafe for ComplexString
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,