Enum cognitive_qualia::perceptron::Perceptron
[−]
[src]
#[repr(C)]pub enum Perceptron { Notify, Suspend, WakeUp, InputsChanged, OutputsChanged, CustomEmpty, CustomId(u64), VerticalBlank(i32), PageFlip(i32), OutputFound(DrmBundle), DisplayCreated(OutputInfo), InputPointerMotion(Vector), InputPointerPosition(OptionalPosition), InputPointerButton(Button), InputPointerAxis(Axis), InputPointerPositionReset, InputKeyboard(Key), SurfaceReady(SurfaceId), SurfaceDestroyed(SurfaceId), SurfaceReconfigured(SurfaceId), DockSurface(SurfaceId, Size, i32), CursorSurfaceChange(SurfaceId), BackgroundSurfaceChange(SurfaceId), SurfaceFrame(SurfaceId, Milliseconds), PointerFocusChanged(SurfaceId, SurfaceId, Position), PointerRelativeMotion(SurfaceId, Position, Milliseconds), KeyboardFocusChanged(SurfaceId, SurfaceId), TransferOffered, TransferRequested(String, RawFd), Command(Command), Mode { active: bool, mode: InteractionMode, }, TakeScreenshot(i32), ScreenshotDone, WorkspaceStateChanged, Timer500, }
Data passed along with signals. Convention it to use enum values only with corresponding signal identifies.
TODO: Describe all perceptrons
.
Variants
Notify
Suspend
WakeUp
InputsChanged
OutputsChanged
CustomEmpty
CustomId(u64)
VerticalBlank(i32)
PageFlip(i32)
OutputFound(DrmBundle)
DisplayCreated(OutputInfo)
InputPointerMotion(Vector)
InputPointerPosition(OptionalPosition)
InputPointerButton(Button)
InputPointerAxis(Axis)
InputPointerPositionReset
InputKeyboard(Key)
SurfaceReady(SurfaceId)
SurfaceDestroyed(SurfaceId)
SurfaceReconfigured(SurfaceId)
DockSurface(SurfaceId, Size, i32)
CursorSurfaceChange(SurfaceId)
BackgroundSurfaceChange(SurfaceId)
SurfaceFrame(SurfaceId, Milliseconds)
PointerFocusChanged(SurfaceId, SurfaceId, Position)
PointerRelativeMotion(SurfaceId, Position, Milliseconds)
KeyboardFocusChanged(SurfaceId, SurfaceId)
TransferOffered
TransferRequested(String, RawFd)
Command(Command)
Mode
Fields of Mode
active: bool | |
mode: InteractionMode |
TakeScreenshot(i32)
ScreenshotDone
WorkspaceStateChanged
Timer500
Trait Implementations
impl Clone for Perceptron
[src]
fn clone(&self) -> Perceptron
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more