pub struct FrameTemplate { /* private fields */ }Expand description
The layout of one コマ枠フォルダー border, taken from a CSP-made frame folder: its header and first point, whose undecoded fields new borders keep (header 96 bytes and points 88 bytes in CSP 5).
Implementations§
Source§impl FrameTemplate
impl FrameTemplate
Sourcepub fn of(data: &VectorData) -> Option<Self>
pub fn of(data: &VectorData) -> Option<Self>
The first border of a frame folder’s vector data, if it is in the known layout.
Sourcepub fn brush_style(&self) -> u32
pub fn brush_style(&self) -> u32
Brush style id the borders are drawn with.
Trait Implementations§
Source§impl Clone for FrameTemplate
impl Clone for FrameTemplate
Source§impl Debug for FrameTemplate
impl Debug for FrameTemplate
Source§impl PartialEq for FrameTemplate
impl PartialEq for FrameTemplate
impl StructuralPartialEq for FrameTemplate
Auto Trait Implementations§
impl Freeze for FrameTemplate
impl RefUnwindSafe for FrameTemplate
impl Send for FrameTemplate
impl Sync for FrameTemplate
impl Unpin for FrameTemplate
impl UnsafeUnpin for FrameTemplate
impl UnwindSafe for FrameTemplate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more