pub struct ChangeFlag(/* private fields */);
Expand description
The types of change that can be sent and received by Qt3D's change notification system.
C++ enum: Qt3DCore::ChangeFlag
.
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.
Implementations§
Source§impl ChangeFlag
impl ChangeFlag
Sourcepub const NodeCreated: ChangeFlag
pub const NodeCreated: ChangeFlag
A new instance of a QNode subclass has been created. (C++ enum variant: NodeCreated = 1
)
Sourcepub const NodeDeleted: ChangeFlag
pub const NodeDeleted: ChangeFlag
A QNode has been deleted. (C++ enum variant: NodeDeleted = 2
)
Sourcepub const PropertyUpdated: ChangeFlag
pub const PropertyUpdated: ChangeFlag
A QNode property has been updated. (C++ enum variant: PropertyUpdated = 4
)
Sourcepub const PropertyValueAdded: ChangeFlag
pub const PropertyValueAdded: ChangeFlag
A QNode has been added to the scene. (C++ enum variant: PropertyValueAdded = 8
)
Sourcepub const PropertyValueRemoved: ChangeFlag
pub const PropertyValueRemoved: ChangeFlag
A QNode has been removed from the scene. (C++ enum variant: PropertyValueRemoved = 16
)
Sourcepub const ComponentAdded: ChangeFlag
pub const ComponentAdded: ChangeFlag
A QComponent has been added to a QEntity. (C++ enum variant: ComponentAdded = 32
)
Sourcepub const ComponentRemoved: ChangeFlag
pub const ComponentRemoved: ChangeFlag
A QComponent has been removed from a QEntity. (C++ enum variant: ComponentRemoved = 64
)
Sourcepub const AllChanges: ChangeFlag
pub const AllChanges: ChangeFlag
Allows an observer to monitor for any of the above changes. (C++ enum variant: AllChanges = -1
)
Sourcepub const CommandRequested: ChangeFlag
pub const CommandRequested: ChangeFlag
A QNodeCommand has been sent between a node and its backend. (C++ enum variant: CommandRequested = 128
)
Sourcepub const CallbackTriggered: ChangeFlag
pub const CallbackTriggered: ChangeFlag
A QNode triggered a callback. (C++ enum variant: CallbackTriggered = 256
)
Trait Implementations§
Source§impl<T: Into<QFlags<ChangeFlag>>> BitOr<T> for ChangeFlag
impl<T: Into<QFlags<ChangeFlag>>> BitOr<T> for ChangeFlag
Source§impl Clone for ChangeFlag
impl Clone for ChangeFlag
Source§fn clone(&self) -> ChangeFlag
fn clone(&self) -> ChangeFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more