Struct allsorts_no_std::bitmap::sbix::SbixGlyph [−][src]
An sbix
bitmap glyph.
Fields
origin_offset_x: i16
The horizontal (x-axis) offset from the left edge of the graphic to the glyph’s origin.
That is, the x-coordinate of the point on the baseline at the left edge of the glyph.
origin_offset_y: i16
The vertical (y-axis) offset from the bottom edge of the graphic to the glyph’s origin.
That is, the y-coordinate of the point on the baseline at the left edge of the glyph.
graphic_type: u32
Indicates the format of the embedded graphic data.
One of jpg
, png
or tiff
, or the special format dupe
.
data: &'a [u8]
The actual embedded graphic data.
Trait Implementations
impl From<&'_ SbixGlyph<'_>> for OriginOffset
[src]
impl<'a> ReadBinaryDep<'a> for SbixGlyph<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SbixGlyph<'a>
impl<'a> Send for SbixGlyph<'a>
impl<'a> Sync for SbixGlyph<'a>
impl<'a> Unpin for SbixGlyph<'a>
impl<'a> UnwindSafe for SbixGlyph<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,