[−][src]Enum polyhorn_ios::raw::Platform
Non-constructable type that implements the platform trait for iOS.
Trait Implementations
impl Builtin<Platform> for Builtin
[src]
fn instantiate(
&self,
_parent: &mut OpaqueContainer,
environment: &mut Environment
) -> OpaqueContainer
[src]
&self,
_parent: &mut OpaqueContainer,
environment: &mut Environment
) -> OpaqueContainer
fn update(&self, container: &mut OpaqueContainer)
[src]
impl CommandBuffer<Platform> for CommandBuffer
[src]
fn mount<F>(&mut self, parent_id: ContainerID, initializer: F) -> ContainerID where
F: FnOnce(&mut OpaqueContainer, &mut Environment) -> OpaqueContainer + Send + 'static,
[src]
F: FnOnce(&mut OpaqueContainer, &mut Environment) -> OpaqueContainer + Send + 'static,
fn mutate<F>(&mut self, ids: &[ContainerID], mutator: F) where
F: FnOnce(&mut [&mut OpaqueContainer], &mut Environment) + Send + 'static,
[src]
F: FnOnce(&mut [&mut OpaqueContainer], &mut Environment) + Send + 'static,
fn unmount(&mut self, id: ContainerID)
[src]
fn layout(&mut self)
[src]
fn commit(self)
[src]
impl Component<Platform> for OpaqueComponent
[src]
impl Compositor<Platform> for Compositor
[src]
fn buffer(&self) -> CommandBuffer
[src]
impl Container<Platform> for OpaqueContainer
[src]
fn mount(
&mut self,
container: &mut OpaqueContainer,
_environment: &mut Environment
)
[src]
&mut self,
container: &mut OpaqueContainer,
_environment: &mut Environment
)
fn unmount(&mut self)
[src]
impl Platform for Platform
[src]
type CommandBuffer = CommandBuffer
type Component = OpaqueComponent
type Compositor = Compositor
type Container = OpaqueContainer
This is a native container that renders a built-in. For example, this can be an UIView or a div. Native containers are usually not thread-safe and reside only on the main thread. Read more
type ContainerID = ContainerID
This is a virtual container that renders a built-in. These containers
should be thread-safe (e.g. Send + Sync
). Read more
type Environment = Environment
fn with_compositor<F>(container: Self::Container, task: F) -> Disposable where
F: FnOnce(Self::ContainerID, Self::Compositor, EventLoop) -> Disposable + Send + 'static,
[src]
F: FnOnce(Self::ContainerID, Self::Compositor, EventLoop) -> Disposable + Send + 'static,
Auto Trait Implementations
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
fn type_name(&self) -> &'static str
[src]
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, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,
fn convert_into(self) -> U
[src]
fn convert_unclamped_into(self) -> U
[src]
fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
[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>,