pub struct GstateEntry {
pub state: GraphicsState,
pub saved_by_save: bool,
}Expand description
Entry on the graphics state stack, tracking whether it was created by
save (implicit gsave) or gsave.
Fields§
§state: GraphicsState§saved_by_save: boolTrue if created by save, false if by gsave.
grestore skips save-created entries; grestoreall stops at them.
Trait Implementations§
Source§impl Clone for GstateEntry
impl Clone for GstateEntry
Source§fn clone(&self) -> GstateEntry
fn clone(&self) -> GstateEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GstateEntry
impl RefUnwindSafe for GstateEntry
impl Send for GstateEntry
impl Sync for GstateEntry
impl Unpin for GstateEntry
impl UnsafeUnpin for GstateEntry
impl UnwindSafe for GstateEntry
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