[]Struct jni_android_sys::android::text::Spanned

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

public interface Spanned

Required feature: "android-text-Spanned"

Methods

impl Spanned

pub fn getSpans<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, ObjectArray<Object, Throwable>>>, Local<'env, Throwable>>
[src]

getSpans

Required features: "java-lang-Class", "java-lang-Object"

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

getSpanStart

Required features: "java-lang-Object"

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

getSpanEnd

Required features: "java-lang-Object"

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

getSpanFlags

Required features: "java-lang-Object"

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

nextSpanTransition

Required features: "java-lang-Class"

pub const SPAN_COMPOSING: i32[src]

public static final SPAN_COMPOSING

pub const SPAN_EXCLUSIVE_EXCLUSIVE: i32[src]

public static final SPAN_EXCLUSIVE_EXCLUSIVE

pub const SPAN_EXCLUSIVE_INCLUSIVE: i32[src]

public static final SPAN_EXCLUSIVE_INCLUSIVE

pub const SPAN_INCLUSIVE_EXCLUSIVE: i32[src]

public static final SPAN_INCLUSIVE_EXCLUSIVE

pub const SPAN_INCLUSIVE_INCLUSIVE: i32[src]

public static final SPAN_INCLUSIVE_INCLUSIVE

pub const SPAN_INTERMEDIATE: i32[src]

public static final SPAN_INTERMEDIATE

pub const SPAN_MARK_MARK: i32[src]

public static final SPAN_MARK_MARK

pub const SPAN_MARK_POINT: i32[src]

public static final SPAN_MARK_POINT

pub const SPAN_PARAGRAPH: i32[src]

public static final SPAN_PARAGRAPH

pub const SPAN_POINT_MARK: i32[src]

public static final SPAN_POINT_MARK

pub const SPAN_POINT_MARK_MASK: i32[src]

public static final SPAN_POINT_MARK_MASK

pub const SPAN_POINT_POINT: i32[src]

public static final SPAN_POINT_POINT

pub const SPAN_PRIORITY: i32[src]

public static final SPAN_PRIORITY

pub const SPAN_PRIORITY_SHIFT: i32[src]

public static final SPAN_PRIORITY_SHIFT

pub const SPAN_USER: i32[src]

public static final SPAN_USER

pub const SPAN_USER_SHIFT: i32[src]

public static final SPAN_USER_SHIFT

Methods from Deref<Target = Object>

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

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

Trait Implementations

impl AsJValue for Spanned

impl AsRef<CharSequence> for Spanned

impl AsRef<Spanned> for Spannable

impl AsRef<Spanned> for SpannedString

impl AsValidJObjectAndEnv for Spanned

impl Deref for Spanned

type Target = Object

The resulting type after dereferencing.

impl JniType for Spanned

Auto Trait Implementations

impl RefUnwindSafe for Spanned

impl !Send for Spanned

impl !Sync for Spanned

impl Unpin for Spanned

impl UnwindSafe for Spanned

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.