pub struct HostObject {
pub token: u32,
pub rect: Rect,
}Expand description
Placement of one host object atom in the rendered fragment.
Fields§
§token: u32The host minted token identifying the object.
rect: RectThe object’s box in IR/render coordinate space.
Trait Implementations§
Source§impl Clone for HostObject
impl Clone for HostObject
Source§fn clone(&self) -> HostObject
fn clone(&self) -> HostObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostObject
Source§impl Debug for HostObject
impl Debug for HostObject
Source§impl PartialEq for HostObject
impl PartialEq for HostObject
impl StructuralPartialEq for HostObject
Auto Trait Implementations§
impl Freeze for HostObject
impl RefUnwindSafe for HostObject
impl Send for HostObject
impl Sync for HostObject
impl Unpin for HostObject
impl UnsafeUnpin for HostObject
impl UnwindSafe for HostObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more