fn check(&self, grid_width: Length) -> Result<()> {
        for override_width in self.0.values().copied() {
            if grid_width < override_width {
                return Err(Error::OverlyLargeOverride {
                    grid_width,
                    override_width,
                });
            }
        }
        Ok(())
    }
/// Checks that this specification is well-formed with respect to a grid.
///
/// # Errors
///
/// Fails if the overrides try to make a width larger than the on-grid character width.
Checks that this specification is well-formed with respect to a grid.
Checks that this specification is well - formed with respect to a grid .
fn check(&self, grid_width: Length) -> Result<()> {
        for override_width in self.0.values().copied() {
            if grid_width < override_width {
                return Err(Error::OverlyLargeOverride {
                    grid_width,
                    override_width,
                });
            }
        }
        Ok(())
    }
fn check ( & self , grid_width : Length ) -> Result < ( ) > { for override_width in self . 0 . values ( ) . copied ( ) { if grid_width < override_width { return Err ( Error :: OverlyLargeOverride { grid_width , override_width , } ) ; } } Ok ( ( ) ) }
Checks that this specification is well-formed with respect to a grid.
Checks that this specification is well - formed with respect to a grid .
&self
grid_width
Length
errors
Fails if the overrides try to make a width larger than the on-grid character width.
Fails if the overrides try to make a width larger than the on - grid character width .