pub struct OrientationRule {
pub canonical_make: &'static str,
pub model_prefix: &'static str,
pub policy: &'static str,
}Expand description
Orientation policy for a canonical make, optionally narrowed by a model prefix.
Fields§
§canonical_make: &'static str§model_prefix: &'static strCanonical model prefix (“” = all models).
policy: &'static strTrait Implementations§
Source§impl Clone for OrientationRule
impl Clone for OrientationRule
impl Copy for OrientationRule
Source§impl Debug for OrientationRule
impl Debug for OrientationRule
Source§impl PartialEq for OrientationRule
impl PartialEq for OrientationRule
impl StructuralPartialEq for OrientationRule
Auto Trait Implementations§
impl Forget for OrientationRule
impl Freeze for OrientationRule
impl Move for OrientationRule
impl RefUnwindSafe for OrientationRule
impl Send for OrientationRule
impl Sync for OrientationRule
impl Unpin for OrientationRule
impl UnsafeUnpin for OrientationRule
impl UnwindSafe for OrientationRule
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