pub struct RecompositionInfo {
pub instance_id: u64,
pub name: &'static str,
pub file: &'static str,
pub line: u32,
pub manifest_dir: &'static str,
pub recompositions: u64,
}Expand description
A live composable instance, including functions which emit no layout nodes.
Fields§
§instance_id: u64Identity of this instance for the lifetime of the preview composition thread.
name: &'static strComposable function name.
file: &'static strCompiler-reported source file.
line: u32One-based declaration line.
manifest_dir: &'static strCompiler-reported package directory.
recompositions: u64Body executions after the initial composition.
Trait Implementations§
Source§impl Debug for RecompositionInfo
impl Debug for RecompositionInfo
impl Eq for RecompositionInfo
Source§impl PartialEq for RecompositionInfo
impl PartialEq for RecompositionInfo
impl StructuralPartialEq for RecompositionInfo
Auto Trait Implementations§
impl Freeze for RecompositionInfo
impl RefUnwindSafe for RecompositionInfo
impl Send for RecompositionInfo
impl Sync for RecompositionInfo
impl Unpin for RecompositionInfo
impl UnsafeUnpin for RecompositionInfo
impl UnwindSafe for RecompositionInfo
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