Skip to main content

BorderStyleName

Trait BorderStyleName 

Source
pub trait BorderStyleName {
    // Required method
    fn as_bytes(&self) -> &'static [u8] ⓘ;
}
Expand description

The /BS /S name a AnnotBorderStyle is written as.

An extension trait rather than an inherent impl, because the type it extends belongs to pdfrum_doc. Only the write side needs the spelling; the read side only ever matches on the value.

Required Methods§

Source

fn as_bytes(&self) -> &'static [u8] ⓘ

The PDF name bytes for /BS /S.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§