pub struct AutoStateRule {
pub event: AutoStateEvent,
pub categories: Vec<String>,
pub ocgs: Vec<u32>,
}Expand description
One /AS automatic-state rule.
Fields§
§event: AutoStateEvent/Event — render intent the rule applies to.
categories: Vec<String>/Category — /Usage sub-dict names this rule consults.
ocgs: Vec<u32>/OCGs — layers this rule applies to.
Trait Implementations§
Source§impl Clone for AutoStateRule
impl Clone for AutoStateRule
Source§fn clone(&self) -> AutoStateRule
fn clone(&self) -> AutoStateRule
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 AutoStateRule
impl RefUnwindSafe for AutoStateRule
impl Send for AutoStateRule
impl Sync for AutoStateRule
impl Unpin for AutoStateRule
impl UnsafeUnpin for AutoStateRule
impl UnwindSafe for AutoStateRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more