pub struct ElementState {
pub mount_generation: u64,
pub builds: u64,
pub layouts: u64,
pub paints: u64,
pub composites: u64,
pub semantic_updates: u64,
pub constraints: Option<DebugValue>,
pub size: Option<[f32; 2]>,
pub offset: Option<[f32; 2]>,
pub world_bounds: Option<[f32; 4]>,
pub baseline: Option<f32>,
pub clip: Option<[f32; 4]>,
}Fields§
§mount_generation: u64§builds: u64§layouts: u64§paints: u64§composites: u64§semantic_updates: u64§constraints: Option<DebugValue>§size: Option<[f32; 2]>§offset: Option<[f32; 2]>§world_bounds: Option<[f32; 4]>§baseline: Option<f32>Resolved retained baseline, when this render object establishes one.
clip: Option<[f32; 4]>The actual rectangular clip used by a retained clip layer, expressed
in the same target coordinate space as world_bounds.
Trait Implementations§
Source§impl Clone for ElementState
impl Clone for ElementState
Source§impl Debug for ElementState
impl Debug for ElementState
Source§impl<'de> Deserialize<'de> for ElementState
impl<'de> Deserialize<'de> for ElementState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ElementState
impl PartialEq for ElementState
Source§impl Serialize for ElementState
impl Serialize for ElementState
impl StructuralPartialEq for ElementState
Auto Trait Implementations§
impl Forget for ElementState
impl Freeze for ElementState
impl RefUnwindSafe for ElementState
impl Send for ElementState
impl Sync for ElementState
impl Unpin for ElementState
impl UnsafeUnpin for ElementState
impl UnwindSafe for ElementState
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