[]Struct jni_android_sys::android::view::textclassifier::TextLinks_TextLinkSpan

#[repr(transparent)]
pub struct TextLinks_TextLinkSpan(_);

public class TextLinks.TextLinkSpan

Required feature: "android-view-textclassifier-TextLinks_TextLinkSpan"

Methods

impl TextLinks_TextLinkSpan

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env TextLinks_TextLink>>
) -> Result<Local<'env, TextLinks_TextLinkSpan>, Local<'env, Throwable>>
[src]

TextLinkSpan

Required features: "android-view-textclassifier-TextLinks_TextLink"

pub fn onClick<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

onClick

Required features: "android-view-View"

getTextLink

Required features: "android-view-textclassifier-TextLinks_TextLink"

Methods from Deref<Target = ClickableSpan>

pub fn onClick<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

onClick

Required features: "android-view-View"

pub fn updateDrawState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TextPaint>>
) -> Result<(), Local<'env, Throwable>>
[src]

updateDrawState

Required features: "android-text-TextPaint"

Trait Implementations

impl AsJValue for TextLinks_TextLinkSpan

impl AsValidJObjectAndEnv for TextLinks_TextLinkSpan

impl Deref for TextLinks_TextLinkSpan

type Target = ClickableSpan

The resulting type after dereferencing.

impl JniType for TextLinks_TextLinkSpan

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, 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.