Struct allsorts_no_std::tables::svg::SVGDocumentRecord [−][src]
One SVG record holding a glyph range and SVGDocumentRecord
.
Fields
start_glyph_id: u16
The starting glyph id.
end_glyph_id: u16
The end glyph id.
Can be the same as start_glyph_id
.
svg_document: &'a [u8]
The SVG document data. Possibly compressed.
If the data is compressed it will begin with 0x1F, 0x8B, 0x08, which is a gzip member header indicating “deflate” as the compression method. See section 2.3.1 of https://www.ietf.org/rfc/rfc1952.txt
Trait Implementations
impl<'a> ReadBinaryDep<'a> for SVGDocumentRecord<'a>
[src]
type Args = ReadScope<'a>
type HostType = Self
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
scope: ReadScope<'a>
) -> Result<Self, ParseError>
[src]
ctxt: &mut ReadCtxt<'a>,
scope: ReadScope<'a>
) -> Result<Self, ParseError>
impl<'a> ReadFixedSizeDep<'a> for SVGDocumentRecord<'a>
[src]
impl<'a> TryFrom<&'_ SVGDocumentRecord<'a>> for BitmapGlyph
[src]
type Error = ParseError
The type returned in the event of a conversion error.
fn try_from(svg_record: &SVGDocumentRecord<'a>) -> Result<Self, ParseError>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SVGDocumentRecord<'a>
impl<'a> Send for SVGDocumentRecord<'a>
impl<'a> Sync for SVGDocumentRecord<'a>
impl<'a> Unpin for SVGDocumentRecord<'a>
impl<'a> UnwindSafe for SVGDocumentRecord<'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>,