Trait HasAddFunctions

Source
pub trait HasAddFunctions: HasHandle<WINDOW> {
    // Provided methods
    fn addchnstr(
        &self,
        chstr: &ChtypeString,
        length: Option<u16>,
    ) -> Result<(), NCurseswWinError> { ... }
    fn addch(&self, ch: ChtypeChar) -> Result<(), NCurseswWinError> { ... }
    fn addchstr(&self, chstr: &ChtypeString) -> Result<(), NCurseswWinError> { ... }
    fn addnstr<S: Into<String>>(
        &self,
        str: S,
        length: Option<u16>,
    ) -> Result<(), NCurseswWinError> { ... }
    fn addnwstr(
        &self,
        wstr: &WideString,
        length: Option<u16>,
    ) -> Result<(), NCurseswWinError> { ... }
    fn addstr<S: Into<String>>(&self, str: S) -> Result<(), NCurseswWinError> { ... }
    fn add_wchnstr(
        &self,
        wchstr: &ComplexString,
        length: Option<u16>,
    ) -> Result<(), NCurseswWinError> { ... }
    fn add_wch(&self, wch: ComplexChar) -> Result<(), NCurseswWinError> { ... }
    fn add_wchstr(&self, wchstr: &ComplexString) -> Result<(), NCurseswWinError> { ... }
    fn addwstr(&self, wstr: &WideString) -> Result<(), NCurseswWinError> { ... }
}
Expand description

Does the window canvas type have ncursesw add functions.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§