[−]Struct jni_android_sys::android::text::style::SuggestionSpan
public class SuggestionSpan
Required feature: "android-text-style-SuggestionSpan"
Methods
impl SuggestionSpan
pub fn new_Context_String_array_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: i32
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: i32
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn new_Locale_String_array_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: i32
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: i32
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Locale"
pub fn new_Context_Locale_String_array_int_Class<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Locale>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: i32,
arg4: impl Into<Option<&'env Class>>
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Locale>>,
arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg3: i32,
arg4: impl Into<Option<&'env Class>>
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-Class", "java-lang-String", "java-util-Locale"
pub fn new_Parcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, SuggestionSpan>, Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn getSuggestions<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLocale<'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 getLocaleObject<'env>(
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn getFlags<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setFlags<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn getSpanTypeId<'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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn updateDrawState<'env>(
&'env self,
arg0: impl Into<Option<&'env TextPaint>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextPaint>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-TextPaint"
pub const ACTION_SUGGESTION_PICKED: &'static str
[src]
public static final ACTION_SUGGESTION_PICKED
pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>
[src]
get public static final CREATOR
Required feature: "android-os-Parcelable_Creator"
pub const FLAG_AUTO_CORRECTION: i32
[src]
public static final FLAG_AUTO_CORRECTION
pub const FLAG_EASY_CORRECT: i32
[src]
public static final FLAG_EASY_CORRECT
pub const FLAG_MISSPELLED: i32
[src]
public static final FLAG_MISSPELLED
pub const SUGGESTIONS_MAX_SIZE: i32
[src]
public static final SUGGESTIONS_MAX_SIZE
pub const SUGGESTION_SPAN_PICKED_AFTER: &'static str
[src]
public static final SUGGESTION_SPAN_PICKED_AFTER
pub const SUGGESTION_SPAN_PICKED_BEFORE: &'static str
[src]
public static final SUGGESTION_SPAN_PICKED_BEFORE
pub const SUGGESTION_SPAN_PICKED_HASHCODE: &'static str
[src]
public static final SUGGESTION_SPAN_PICKED_HASHCODE
Methods from Deref<Target = CharacterStyle>
pub fn updateDrawState<'env>(
&'env self,
arg0: impl Into<Option<&'env TextPaint>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextPaint>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-TextPaint"
pub fn getUnderlying<'env>(
&'env self
) -> Result<Option<Local<'env, CharacterStyle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharacterStyle>>, Local<'env, Throwable>>
Required features: "android-text-style-CharacterStyle"
Trait Implementations
impl AsJValue for SuggestionSpan
impl AsRef<ParcelableSpan> for SuggestionSpan
fn as_ref(&self) -> &ParcelableSpan
impl AsValidJObjectAndEnv for SuggestionSpan
impl Deref for SuggestionSpan
type Target = CharacterStyle
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for SuggestionSpan
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SuggestionSpan
impl !Send for SuggestionSpan
impl !Sync for SuggestionSpan
impl Unpin for SuggestionSpan
impl UnwindSafe for SuggestionSpan
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>,