[][src]Struct qt_core::ItemSelectionOperation

#[repr(transparent)]
pub struct 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.

C++ documentation:

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]

pub fn to_int(&self) -> c_int[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 From<i32> for ItemSelectionOperation[src]

impl From<ItemSelectionOperation> for c_int[src]

impl Clone for ItemSelectionOperation[src]

impl Copy for ItemSelectionOperation[src]

impl Eq for ItemSelectionOperation[src]

impl PartialEq<ItemSelectionOperation> for ItemSelectionOperation[src]

impl Debug for ItemSelectionOperation[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]