droid_wrap::java::lang

Trait CharSequenceExt

Source
pub trait CharSequenceExt {
    // Required method
    fn to_char_sequence<CS: CharSequence>(&self) -> CS
       where <CS as JObjNew>::Fields: Default;
}
Expand description

CharSequence的扩展操作

Required Methods§

Source

fn to_char_sequence<CS: CharSequence>(&self) -> CS
where <CS as JObjNew>::Fields: Default,

实现一个CharSequence类型。

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.

Implementations on Foreign Types§

Source§

impl<'a> CharSequenceExt for &'a str

Source§

fn to_char_sequence<CS: CharSequence>(&self) -> CS
where <CS as JObjNew>::Fields: Default,

Implementors§