pub struct LayoutHint {
pub node_id: u64,
pub hint_type: LayoutHintType,
pub description: String,
pub impact: f32,
}Expand description
A layout optimization hint for a specific node.
Fields§
§node_id: u64§hint_type: LayoutHintType§description: String§impact: f32Estimated performance impact (0.0 – 1.0, higher = more impactful).
Trait Implementations§
Source§impl Clone for LayoutHint
impl Clone for LayoutHint
Source§fn clone(&self) -> LayoutHint
fn clone(&self) -> LayoutHint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutHint
impl Debug for LayoutHint
Source§impl<'de> Deserialize<'de> for LayoutHint
impl<'de> Deserialize<'de> for LayoutHint
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
Auto Trait Implementations§
impl Freeze for LayoutHint
impl RefUnwindSafe for LayoutHint
impl Send for LayoutHint
impl Sync for LayoutHint
impl Unpin for LayoutHint
impl UnsafeUnpin for LayoutHint
impl UnwindSafe for LayoutHint
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