/// [Type::PIB], and so on) as binary values, and writes other output
/// formats in the given `encoding`.
///
- /// If `dv` is a [DisplayValue], the difference between `write!(f, "{}",
+ /// If `dv` is a [DisplayDatum], the difference between `write!(f, "{}",
/// dv)` and `dv.write(f, encoding)` is:
///
/// * `write!` always outputs UTF-8. Binary formats are encoded as the
/// `?` (only appears in macros).
Question,
- /// ```` (only appears in macros).
+ /// <code>`</code> (only appears in macros).
Backtick,
/// `.`.
/// Resolution, in units per inch, used for measuring font "points":
///
/// - 72.0 if 1 pt is one device unit, e.g. for rendering to a surface
- /// created by [PsSurface::new] with its default transformation matrix of 72
- /// units/inch.p
+ /// created by [cairo::PsSurface::new] with its default transformation
+ /// matrix of 72 units/inch.p
///
/// - 96.0 is traditional for a screen-based surface.
pub font_resolution: f64,
/// Styling for a pivot table.
///
-/// The division between this and the style information in [Table] seems fairly
-/// arbitrary. The ultimate reason for the division is simply because that's
-/// how SPSS documentation and file formats do it.
+/// The division between this and the style information in [PivotTable] seems
+/// fairly arbitrary. The ultimate reason for the division is simply because
+/// that's how SPSS documentation and file formats do it.
#[derive(Clone, Debug)]
pub struct Look {
pub name: Option<String>,
/// category while creating the category. See pivot_dimension_create() for
/// more details.
///
-/// [F]: crate::format::Format::F
-/// [Pct]: crate::format::Format::Pct
+/// [F]: crate::format::Type::F
+/// [Pct]: crate::format::Type::Pct
///
/// 2. A numeric or string value obtained from data ([ValueInner::Number] or
/// [ValueInner::String]). If such a value corresponds to a variable, then the
/// on-screen display).
pub printing: bool,
- /// Whether [RenderOps::adjust_break] is implemented.
+ /// Whether [Device::adjust_break] is implemented.
pub can_adjust_break: bool,
- /// Whether [RenderOps::scale] is implemented.
+ /// Whether [Device::scale] is implemented.
pub can_scale: bool,
}
/// return value would be just sufficiently less that the breakpoint would
/// be between lines of text.
///
- /// Optional. If [RenderParams::can_adjust_break] is false, the rendering
- /// engine assumes that all breakpoints are acceptable.
+ /// Optional. If [Params::can_adjust_break] is false, the rendering engine
+ /// assumes that all breakpoints are acceptable.
fn adjust_break(&self, cell: &Content, size: Coord2) -> usize;
/// Draws a generalized intersection of lines in `bb`.
/// everything subsequent to be drawn half-size. `factor` will be greater
/// than 0 and less than or equal to 1.
///
- /// Optional. If [RenderParams::can_scale] is false, the rendering engine
- /// won't try to scale output.
+ /// Optional. If [Params::can_scale] is false, the rendering engine won't
+ /// try to scale output.
fn scale(&mut self, factor: f64);
}