pub struct HoverFxValidationReport {
pub issues: Vec<HoverFxValidationIssue>,
}Fields§
§issues: Vec<HoverFxValidationIssue>Implementations§
Source§impl HoverFxValidationReport
impl HoverFxValidationReport
pub fn is_valid(&self) -> bool
pub fn errors(&self) -> impl Iterator<Item = &HoverFxValidationIssue>
pub fn warnings(&self) -> impl Iterator<Item = &HoverFxValidationIssue>
pub fn push(&mut self, issue: HoverFxValidationIssue)
Trait Implementations§
Source§impl Clone for HoverFxValidationReport
impl Clone for HoverFxValidationReport
Source§fn clone(&self) -> HoverFxValidationReport
fn clone(&self) -> HoverFxValidationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HoverFxValidationReport
impl Debug for HoverFxValidationReport
Source§impl Default for HoverFxValidationReport
impl Default for HoverFxValidationReport
Source§fn default() -> HoverFxValidationReport
fn default() -> HoverFxValidationReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HoverFxValidationReport
impl<'de> Deserialize<'de> for HoverFxValidationReport
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
impl Eq for HoverFxValidationReport
Source§impl PartialEq for HoverFxValidationReport
impl PartialEq for HoverFxValidationReport
Source§fn eq(&self, other: &HoverFxValidationReport) -> bool
fn eq(&self, other: &HoverFxValidationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HoverFxValidationReport
impl Serialize for HoverFxValidationReport
impl StructuralPartialEq for HoverFxValidationReport
Auto Trait Implementations§
impl Freeze for HoverFxValidationReport
impl RefUnwindSafe for HoverFxValidationReport
impl Send for HoverFxValidationReport
impl Sync for HoverFxValidationReport
impl Unpin for HoverFxValidationReport
impl UnsafeUnpin for HoverFxValidationReport
impl UnwindSafe for HoverFxValidationReport
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