[]Struct jni_android_sys::android::text::BoringLayout_Metrics

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

public class BoringLayout.Metrics

Required feature: "android-text-BoringLayout_Metrics"

Methods

impl BoringLayout_Metrics

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, BoringLayout_Metrics>, Local<'env, Throwable>>
[src]

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

toString

Required features: "java-lang-String"

pub fn width<'env>(&'env self) -> i32[src]

get public width

pub fn set_width<'env>(&'env self, value: i32)[src]

set public width

Methods from Deref<Target = Paint_FontMetricsInt>

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

toString

Required features: "java-lang-String"

pub fn ascent<'env>(&'env self) -> i32[src]

get public ascent

pub fn set_ascent<'env>(&'env self, value: i32)[src]

set public ascent

pub fn bottom<'env>(&'env self) -> i32[src]

get public bottom

pub fn set_bottom<'env>(&'env self, value: i32)[src]

set public bottom

pub fn descent<'env>(&'env self) -> i32[src]

get public descent

pub fn set_descent<'env>(&'env self, value: i32)[src]

set public descent

pub fn leading<'env>(&'env self) -> i32[src]

get public leading

pub fn set_leading<'env>(&'env self, value: i32)[src]

set public leading

pub fn top<'env>(&'env self) -> i32[src]

get public top

pub fn set_top<'env>(&'env self, value: i32)[src]

set public top

Trait Implementations

impl AsJValue for BoringLayout_Metrics

impl AsValidJObjectAndEnv for BoringLayout_Metrics

impl Deref for BoringLayout_Metrics

type Target = Paint_FontMetricsInt

The resulting type after dereferencing.

impl JniType for BoringLayout_Metrics

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.