[][src]Struct qt_3d_core::ChangeFlag

#[repr(transparent)]pub struct ChangeFlag(_);

The types of change that can be sent and received by Qt3D's change notification system.

C++ enum: Qt3DCore::ChangeFlag.

C++ documentation:

The types of change that can be sent and received by Qt3D's change notification system.

The ChangeFlags type is a typedef for QFlags<ChangeFlag>. It stores an OR combination of ChangeFlag values.

Methods

impl ChangeFlag[src]

pub fn to_int(&self) -> c_int[src]

impl ChangeFlag[src]

pub const NodeCreated: ChangeFlag[src]

A new instance of a QNode subclass has been created. (C++ enum variant: NodeCreated = 1)

pub const NodeDeleted: ChangeFlag[src]

A QNode has been deleted. (C++ enum variant: NodeDeleted = 2)

pub const PropertyUpdated: ChangeFlag[src]

A QNode property has been updated. (C++ enum variant: PropertyUpdated = 4)

pub const PropertyValueAdded: ChangeFlag[src]

A QNode has been added to the scene. (C++ enum variant: PropertyValueAdded = 8)

pub const PropertyValueRemoved: ChangeFlag[src]

A QNode has been removed from the scene. (C++ enum variant: PropertyValueRemoved = 16)

pub const ComponentAdded: ChangeFlag[src]

A QComponent has been added to a QEntity. (C++ enum variant: ComponentAdded = 32)

pub const ComponentRemoved: ChangeFlag[src]

A QComponent has been removed from a QEntity. (C++ enum variant: ComponentRemoved = 64)

pub const AllChanges: ChangeFlag[src]

Allows an observer to monitor for any of the above changes. (C++ enum variant: AllChanges = -1)

pub const CommandRequested: ChangeFlag[src]

A QNodeCommand has been sent between a node and its backend. (C++ enum variant: CommandRequested = 128)

pub const CallbackTriggered: ChangeFlag[src]

A QNode triggered a callback. (C++ enum variant: CallbackTriggered = 256)

Trait Implementations

impl<T: Into<QFlags<ChangeFlag>>> BitOr<T> for ChangeFlag[src]

type Output = QFlags<ChangeFlag>

The resulting type after applying the | operator.

impl Clone for ChangeFlag[src]

impl Copy for ChangeFlag[src]

impl Debug for ChangeFlag[src]

impl Eq for ChangeFlag[src]

impl From<ChangeFlag> for c_int[src]

impl From<ChangeFlag> for QFlags<ChangeFlag>[src]

impl From<i32> for ChangeFlag[src]

impl PartialEq<ChangeFlag> for ChangeFlag[src]

impl StructuralEq for ChangeFlag[src]

impl StructuralPartialEq for ChangeFlag[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> StaticUpcast<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.