We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Into<StyleRef>
DrawRef
1 parent c367dde commit c498140Copy full SHA for c498140
src/style.rs
@@ -58,7 +58,7 @@ impl From<Stroke> for Style {
58
/// Reference to a [draw style](Style).
59
///
60
/// This is useful for methods that would like to accept draw styles by reference. Defining
61
-/// the type as `impl<Into<DrawRef>>` allows accepting types like `&Stroke` or `Fill`
+/// the type as `impl<Into<StyleRef>>` allows accepting types like `&Stroke` or `Fill`
62
/// directly without cloning or allocating.
63
#[derive(Debug, Copy, Clone)]
64
pub enum StyleRef<'a> {
0 commit comments