[−][src]Struct qt_core::ItemSelectionOperation
This enum is used in QGraphicsScene to specify what to do with currently selected items when setting a selection area.
C++ enum: Qt::ItemSelectionOperation
.
This enum is used in QGraphicsScene to specify what to do with currently selected items when setting a selection area.
See also QGraphicsScene::setSelectionArea().
Methods
impl ItemSelectionOperation
[src]
impl ItemSelectionOperation
[src]
pub const ReplaceSelection: ItemSelectionOperation
[src]
The currently selected items are replaced by items in the selection area. (C++ enum variant: ReplaceSelection = 0
)
pub const AddToSelection: ItemSelectionOperation
[src]
The items in the selection area are added to the currently selected items. (C++ enum variant: AddToSelection = 1
)
Trait Implementations
impl Clone for ItemSelectionOperation
[src]
fn clone(&self) -> ItemSelectionOperation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ItemSelectionOperation
[src]
impl Debug for ItemSelectionOperation
[src]
impl Eq for ItemSelectionOperation
[src]
impl From<ItemSelectionOperation> for c_int
[src]
fn from(value: ItemSelectionOperation) -> Self
[src]
impl From<i32> for ItemSelectionOperation
[src]
impl PartialEq<ItemSelectionOperation> for ItemSelectionOperation
[src]
fn eq(&self, other: &ItemSelectionOperation) -> bool
[src]
fn ne(&self, other: &ItemSelectionOperation) -> bool
[src]
impl StructuralEq for ItemSelectionOperation
[src]
impl StructuralPartialEq for ItemSelectionOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemSelectionOperation
impl Send for ItemSelectionOperation
impl Sync for ItemSelectionOperation
impl Unpin for ItemSelectionOperation
impl UnwindSafe for ItemSelectionOperation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,