[]Struct jni_android_sys::android::text::style::URLSpan

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

public class URLSpan

Required feature: "android-text-style-URLSpan"

Methods

impl URLSpan

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

URLSpan

Required features: "java-lang-String"

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

URLSpan

Required features: "android-os-Parcel"

pub fn getSpanTypeId<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

pub fn getURL<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getURL

Required features: "java-lang-String"

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

onClick

Required features: "android-view-View"

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 URLSpan

impl AsRef<ParcelableSpan> for URLSpan

impl AsValidJObjectAndEnv for URLSpan

impl Deref for URLSpan

type Target = ClickableSpan

The resulting type after dereferencing.

impl JniType for URLSpan

Auto Trait Implementations

impl RefUnwindSafe for URLSpan

impl !Send for URLSpan

impl !Sync for URLSpan

impl Unpin for URLSpan

impl UnwindSafe for URLSpan

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.