pub struct vtkEventForwarderCommand(/* private fields */);Expand description
a simple event forwarder command
Use vtkEventForwarderCommand to forward an event to a new object. This command will intercept the event, and use InvokeEvent on a ‘target’ as if that object was the one that invoked the event instead of the object this command was attached to using AddObserver.
@sa vtkCommand
Implementations§
Source§impl vtkEventForwarderCommand
impl vtkEventForwarderCommand
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkEventForwarderCommand wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkEventForwarderCommand
impl Default for vtkEventForwarderCommand
Auto Trait Implementations§
impl Freeze for vtkEventForwarderCommand
impl RefUnwindSafe for vtkEventForwarderCommand
impl !Send for vtkEventForwarderCommand
impl !Sync for vtkEventForwarderCommand
impl Unpin for vtkEventForwarderCommand
impl UnwindSafe for vtkEventForwarderCommand
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