[−]Struct jni_android_sys::android::text::Html
public class Html
Required feature: "android-text-Html"
Methods
impl Html
pub fn fromHtml_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
Required features: "android-text-Spanned", "java-lang-String"
pub fn fromHtml_String_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
Required features: "android-text-Spanned", "java-lang-String"
pub fn fromHtml_String_ImageGetter_TagHandler<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Html_ImageGetter>>,
arg2: impl Into<Option<&'env Html_TagHandler>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Html_ImageGetter>>,
arg2: impl Into<Option<&'env Html_TagHandler>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
Required features: "android-text-Html_ImageGetter", "android-text-Html_TagHandler", "android-text-Spanned", "java-lang-String"
pub fn fromHtml_String_int_ImageGetter_TagHandler<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env Html_ImageGetter>>,
arg3: impl Into<Option<&'env Html_TagHandler>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env Html_ImageGetter>>,
arg3: impl Into<Option<&'env Html_TagHandler>>
) -> Result<Option<Local<'env, Spanned>>, Local<'env, Throwable>>
Required features: "android-text-Html_ImageGetter", "android-text-Html_TagHandler", "android-text-Spanned", "java-lang-String"
pub fn toHtml_Spanned<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Spanned>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Spanned>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-text-Spanned", "java-lang-String"
pub fn toHtml_Spanned_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Spanned>>,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Spanned>>,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-text-Spanned", "java-lang-String"
pub fn escapeHtml<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence", "java-lang-String"
pub const FROM_HTML_MODE_COMPACT: i32
[src]
public static final FROM_HTML_MODE_COMPACT
pub const FROM_HTML_MODE_LEGACY: i32
[src]
public static final FROM_HTML_MODE_LEGACY
pub const FROM_HTML_OPTION_USE_CSS_COLORS: i32
[src]
public static final FROM_HTML_OPTION_USE_CSS_COLORS
pub const FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE: i32
[src]
public static final FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE
pub const FROM_HTML_SEPARATOR_LINE_BREAK_DIV: i32
[src]
public static final FROM_HTML_SEPARATOR_LINE_BREAK_DIV
pub const FROM_HTML_SEPARATOR_LINE_BREAK_HEADING: i32
[src]
public static final FROM_HTML_SEPARATOR_LINE_BREAK_HEADING
pub const FROM_HTML_SEPARATOR_LINE_BREAK_LIST: i32
[src]
public static final FROM_HTML_SEPARATOR_LINE_BREAK_LIST
pub const FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM: i32
[src]
public static final FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM
pub const FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH: i32
[src]
public static final FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH
pub const TO_HTML_PARAGRAPH_LINES_CONSECUTIVE: i32
[src]
public static final TO_HTML_PARAGRAPH_LINES_CONSECUTIVE
pub const TO_HTML_PARAGRAPH_LINES_INDIVIDUAL: i32
[src]
public static final TO_HTML_PARAGRAPH_LINES_INDIVIDUAL
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Html
impl AsValidJObjectAndEnv for Html
impl Deref for Html
impl JniType for Html
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Html
impl !Send for Html
impl !Sync for Html
impl Unpin for Html
impl UnwindSafe for Html
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, 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>,