pub struct CachedSubtreeProps {
pub layout: LayoutStyle,
pub contained_layout: bool,
pub cache_key: u64,
}Fields§
§layout: LayoutStyle§contained_layout: bool§cache_key: u64Implementations§
Source§impl CachedSubtreeProps
impl CachedSubtreeProps
pub fn layout(self, layout: LayoutStyle) -> Self
pub fn contained_layout(self, contained_layout: bool) -> Self
pub fn cache_key(self, cache_key: u64) -> Self
pub fn cache_key_text_style(self, style: &TextStyle) -> Self
pub fn cache_key_clip_rect(self, rect: Rect) -> Self
pub fn cache_key_clip_rrect(self, rect: Rect, corners: Corners) -> Self
Trait Implementations§
Source§impl Clone for CachedSubtreeProps
impl Clone for CachedSubtreeProps
Source§fn clone(&self) -> CachedSubtreeProps
fn clone(&self) -> CachedSubtreeProps
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 CachedSubtreeProps
impl Debug for CachedSubtreeProps
Source§impl Default for CachedSubtreeProps
impl Default for CachedSubtreeProps
Source§fn default() -> CachedSubtreeProps
fn default() -> CachedSubtreeProps
Returns the “default value” for a type. Read more
impl Copy for CachedSubtreeProps
Auto Trait Implementations§
impl Freeze for CachedSubtreeProps
impl RefUnwindSafe for CachedSubtreeProps
impl Send for CachedSubtreeProps
impl Sync for CachedSubtreeProps
impl Unpin for CachedSubtreeProps
impl UnsafeUnpin for CachedSubtreeProps
impl UnwindSafe for CachedSubtreeProps
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