Struct glow_glyph::SectionGeometry [−]
Fields
screen_position: (f32, f32)
Position on screen to render text, in pixels from top-left. Defaults to (0, 0).
bounds: (f32, f32)
Max (width, height) bounds, in pixels from top-left. Defaults to unbounded.
Trait Implementations
impl Clone for SectionGeometry
impl Clone for SectionGeometry
pub fn clone(&self) -> SectionGeometry
pub fn clone(&self) -> SectionGeometry
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for SectionGeometry
impl Debug for SectionGeometry
impl Default for SectionGeometry
impl Default for SectionGeometry
pub fn default() -> SectionGeometry
pub fn default() -> SectionGeometry
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
impl PartialEq<SectionGeometry> for SectionGeometry
impl PartialEq<SectionGeometry> for SectionGeometry
pub fn eq(&self, other: &SectionGeometry) -> bool
pub fn eq(&self, other: &SectionGeometry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &SectionGeometry) -> bool
pub fn ne(&self, other: &SectionGeometry) -> bool
This method tests for !=
.
impl Copy for SectionGeometry
impl StructuralPartialEq for SectionGeometry
Auto Trait Implementations
impl RefUnwindSafe for SectionGeometry
impl Send for SectionGeometry
impl Sync for SectionGeometry
impl Unpin for SectionGeometry
impl UnwindSafe for SectionGeometry
Blanket Implementations
Mutably borrows from an owned value. Read more