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
fn clone(&self) -> SectionGeometry
fn clone(&self) -> SectionGeometry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SectionGeometry
impl Debug for SectionGeometry
impl Default for SectionGeometry
impl Default for SectionGeometry
fn default() -> SectionGeometry
fn default() -> SectionGeometry
Returns the “default value” for a type. Read more
sourceimpl<'_, '_, X> From<&'_ Section<'_, X>> for SectionGeometry
impl<'_, '_, X> From<&'_ Section<'_, X>> for SectionGeometry
sourcefn from(section: &Section<'_, X>) -> SectionGeometry
fn from(section: &Section<'_, X>) -> SectionGeometry
Converts to this type from the input type.
sourceimpl<'_, '_> From<&'_ VariedSection<'_>> for SectionGeometry
impl<'_, '_> From<&'_ VariedSection<'_>> for SectionGeometry
sourcefn from(section: &VariedSection<'_>) -> SectionGeometry
fn from(section: &VariedSection<'_>) -> SectionGeometry
Converts to this type from the input type.
impl PartialEq<SectionGeometry> for SectionGeometry
impl PartialEq<SectionGeometry> for SectionGeometry
fn eq(&self, other: &SectionGeometry) -> bool
fn eq(&self, other: &SectionGeometry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SectionGeometry) -> bool
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more