pub struct StyleAndGenericData<T>where
T: ?Sized,{
pub style_data: StyleData,
pub generic_data: T,
}
Fields§
§style_data: StyleData
The style data.
generic_data: T
The opaque layout data.
Implementations§
Trait Implementations§
source§impl<T> MallocSizeOf for StyleAndGenericData<T>where
T: ?Sized + MallocSizeOf,
impl<T> MallocSizeOf for StyleAndGenericData<T>where
T: ?Sized + MallocSizeOf,
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for StyleAndGenericData<T>
impl<T: ?Sized> Send for StyleAndGenericData<T>where
T: Send,
impl<T: ?Sized> Sync for StyleAndGenericData<T>where
T: Sync,
impl<T: ?Sized> Unpin for StyleAndGenericData<T>where
T: Unpin,
impl<T> !UnwindSafe for StyleAndGenericData<T>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert