[]Struct jni_android_sys::android::widget::RadioGroup_LayoutParams

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

public class RadioGroup.LayoutParams

Required feature: "android-widget-RadioGroup_LayoutParams"

Methods

impl RadioGroup_LayoutParams

pub fn new_Context_AttributeSet<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, RadioGroup_LayoutParams>, Local<'env, Throwable>>
[src]

LayoutParams

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32
) -> Result<Local<'env, RadioGroup_LayoutParams>, Local<'env, Throwable>>
[src]

pub fn new_int_int_float<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: f32
) -> Result<Local<'env, RadioGroup_LayoutParams>, Local<'env, Throwable>>
[src]

pub fn new_LayoutParams<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, RadioGroup_LayoutParams>, Local<'env, Throwable>>
[src]

LayoutParams

Required features: "android-view-ViewGroup_LayoutParams"

pub fn new_MarginLayoutParams<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ViewGroup_MarginLayoutParams>>
) -> Result<Local<'env, RadioGroup_LayoutParams>, Local<'env, Throwable>>
[src]

LayoutParams

Required features: "android-view-ViewGroup_MarginLayoutParams"

Methods from Deref<Target = LinearLayout_LayoutParams>

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

debug

Required features: "java-lang-String"

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

get public gravity

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

set public gravity

pub fn weight<'env>(&'env self) -> f32[src]

get public weight

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

set public weight

Trait Implementations

impl AsJValue for RadioGroup_LayoutParams

impl AsValidJObjectAndEnv for RadioGroup_LayoutParams

impl Deref for RadioGroup_LayoutParams

type Target = LinearLayout_LayoutParams

The resulting type after dereferencing.

impl JniType for RadioGroup_LayoutParams

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.