[−][src]Struct polyhorn_android_sys::View
Implementations
impl View
[src]
pub fn new(env: &Env<'_>, context: impl Into<Context>) -> View
[src]
pub fn set_background_color(&mut self, env: &Env<'_>, color: Color)
[src]
pub fn set_frame(&mut self, env: &Env<'_>, frame: Rect)
[src]
pub fn bounds(&self, env: &Env<'_>) -> Rect
[src]
pub fn add_view(&mut self, env: &Env<'_>, view: &View)
[src]
Trait Implementations
impl Clone for View
[src]
impl Object for View
[src]
fn from_reference(reference: Reference) -> Self
[src]
fn as_reference(&self) -> &Reference
[src]
Auto Trait Implementations
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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<'a, T> Desc<'a, T> for 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,