Struct qt_gui::q_page_size::SizeMatchPolicy
source · pub struct SizeMatchPolicy(/* private fields */);
Expand description
C++ enum: QPageSize::SizeMatchPolicy
.
Implementations§
source§impl SizeMatchPolicy
impl SizeMatchPolicy
sourcepub const FuzzyMatch: SizeMatchPolicy = _
pub const FuzzyMatch: SizeMatchPolicy = _
Match to a standard page size if within the margin of tolerance. (C++ enum variant: FuzzyMatch = 0
)
sourcepub const FuzzyOrientationMatch: SizeMatchPolicy = _
pub const FuzzyOrientationMatch: SizeMatchPolicy = _
Match to a standard page size if within the margin of tolerance regardless of orientation. (C++ enum variant: FuzzyOrientationMatch = 1
)
sourcepub const ExactMatch: SizeMatchPolicy = _
pub const ExactMatch: SizeMatchPolicy = _
Only match to a standard page size if the sizes match exactly. (C++ enum variant: ExactMatch = 2
)
Trait Implementations§
source§impl Clone for SizeMatchPolicy
impl Clone for SizeMatchPolicy
source§fn clone(&self) -> SizeMatchPolicy
fn clone(&self) -> SizeMatchPolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SizeMatchPolicy
impl Debug for SizeMatchPolicy
source§impl From<SizeMatchPolicy> for c_int
impl From<SizeMatchPolicy> for c_int
source§fn from(value: SizeMatchPolicy) -> Self
fn from(value: SizeMatchPolicy) -> Self
Converts to this type from the input type.
source§impl From<i32> for SizeMatchPolicy
impl From<i32> for SizeMatchPolicy
source§impl PartialEq for SizeMatchPolicy
impl PartialEq for SizeMatchPolicy
source§fn eq(&self, other: &SizeMatchPolicy) -> bool
fn eq(&self, other: &SizeMatchPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SizeMatchPolicy
impl Eq for SizeMatchPolicy
impl StructuralEq for SizeMatchPolicy
impl StructuralPartialEq for SizeMatchPolicy
Auto Trait Implementations§
impl RefUnwindSafe for SizeMatchPolicy
impl Send for SizeMatchPolicy
impl Sync for SizeMatchPolicy
impl Unpin for SizeMatchPolicy
impl UnwindSafe for SizeMatchPolicy
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