pub struct Diagnostics { /* private fields */ }Expand description
Warnings collected by a timeline builder; fatal errors are returned by build.
Implementations§
Source§impl Diagnostics
impl Diagnostics
Sourcepub fn warnings(&self) -> &[TimelineWarning]
pub fn warnings(&self) -> &[TimelineWarning]
All warnings in the order they were recorded.
Sourcepub fn boundary_adjustments(&self) -> impl Iterator<Item = &BoundaryAdjustment>
pub fn boundary_adjustments(&self) -> impl Iterator<Item = &BoundaryAdjustment>
Frame-grid adjustments, without other warning kinds.
Trait Implementations§
Source§impl Clone for Diagnostics
impl Clone for Diagnostics
Source§impl Debug for Diagnostics
impl Debug for Diagnostics
Source§impl Default for Diagnostics
impl Default for Diagnostics
impl Eq for Diagnostics
Source§impl PartialEq for Diagnostics
impl PartialEq for Diagnostics
impl StructuralPartialEq for Diagnostics
Auto Trait Implementations§
impl Forget for Diagnostics
impl Freeze for Diagnostics
impl Move for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnsafeUnpin for Diagnostics
impl UnwindSafe for Diagnostics
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