[−]Struct jni_android_sys::android::text::style::ScaleXSpan
public class ScaleXSpan
Required feature: "android-text-style-ScaleXSpan"
Methods
impl ScaleXSpan
pub fn new_float<'env>(
__jni_env: &'env Env,
arg0: f32
) -> Result<Local<'env, ScaleXSpan>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: f32
) -> Result<Local<'env, ScaleXSpan>, Local<'env, Throwable>>
pub fn new_Parcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, ScaleXSpan>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, ScaleXSpan>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn getScaleX<'env>(&'env self) -> Result<f32, 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 fn updateMeasureState<'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"
Methods from Deref<Target = MetricAffectingSpan>
pub fn updateMeasureState<'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, MetricAffectingSpan>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MetricAffectingSpan>>, Local<'env, Throwable>>
Required features: "android-text-style-MetricAffectingSpan"
Trait Implementations
impl AsJValue for ScaleXSpan
impl AsRef<ParcelableSpan> for ScaleXSpan
fn as_ref(&self) -> &ParcelableSpan
impl AsValidJObjectAndEnv for ScaleXSpan
impl Deref for ScaleXSpan
type Target = MetricAffectingSpan
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for ScaleXSpan
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ScaleXSpan
impl !Send for ScaleXSpan
impl !Sync for ScaleXSpan
impl Unpin for ScaleXSpan
impl UnwindSafe for ScaleXSpan
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>,