Fixed lint issues & cleaned up some documentation.

This commit is contained in:
shan 2022-10-06 07:28:05 -07:00
parent 1eb8d972ba
commit cb7c467654
24 changed files with 33 additions and 40 deletions

View file

@ -20,4 +20,4 @@ pub enum Image {
/// The bounds of the image.
bounds: Rectangle,
},
}
}

View file

@ -36,4 +36,4 @@ impl <'a> Into<Style> for Gradient {
}
}
}
}
}

View file

@ -27,4 +27,4 @@ pub struct Quad {
unsafe impl bytemuck::Zeroable for Quad {}
#[allow(unsafe_code)]
unsafe impl bytemuck::Pod for Quad {}
unsafe impl bytemuck::Pod for Quad {}

View file

@ -23,4 +23,4 @@ pub struct Text<'a> {
/// The vertical alignment of the [`Text`].
pub vertical_alignment: alignment::Vertical,
}
}