[−]Struct jni_android_sys::android::text::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]
__jni_env: &'env Env
) -> Result<Local<'env, BoringLayout_Metrics>, Local<'env, Throwable>>
pub fn toString<'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 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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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.
fn deref(&self) -> &Self::Target
impl JniType for BoringLayout_Metrics
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BoringLayout_Metrics
impl !Send for BoringLayout_Metrics
impl !Sync for BoringLayout_Metrics
impl Unpin for BoringLayout_Metrics
impl UnwindSafe for BoringLayout_Metrics
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>,