x11rb::x11_utils

Trait Serialize

pub trait Serialize {
    type Bytes;

    // Required methods
    fn serialize(&self) -> Self::Bytes;
    fn serialize_into(&self, bytes: &mut Vec<u8>);
}
Expand description

A type implementing this trait can be serialized into X11 raw bytes.

Required Associated Types§

type Bytes

The value returned by serialize.

This should be Vec<u8> in most cases. However, arrays like [u8; 4] should also be allowed and thus this is an associated type.

If generic associated types were available, implementing AsRef<[u8]> would be required.

Required Methods§

fn serialize(&self) -> Self::Bytes

Serialize this value into X11 raw bytes.

fn serialize_into(&self, bytes: &mut Vec<u8>)

Serialize this value into X11 raw bytes, appending the result into bytes.

When calling this method, the given vector must satisfy assert_eq!(bytes.len() % 4, 0);. In words: Its length must be a multiple of four.

Implementations on Foreign Types§

§

impl Serialize for bool

§

type Bytes = [u8; 1]

§

fn serialize(&self) -> <bool as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for f32

§

type Bytes = <u32 as Serialize>::Bytes

§

fn serialize(&self) -> <f32 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for f64

§

type Bytes = <u64 as Serialize>::Bytes

§

fn serialize(&self) -> <f64 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for i8

§

type Bytes = [u8; 1]

§

fn serialize(&self) -> <i8 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for i16

§

type Bytes = [u8; 2]

§

fn serialize(&self) -> <i16 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for i32

§

type Bytes = [u8; 4]

§

fn serialize(&self) -> <i32 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for i64

§

type Bytes = [u8; 8]

§

fn serialize(&self) -> <i64 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for u8

§

type Bytes = [u8; 1]

§

fn serialize(&self) -> <u8 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for u16

§

type Bytes = [u8; 2]

§

fn serialize(&self) -> <u16 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for u32

§

type Bytes = [u8; 4]

§

fn serialize(&self) -> <u32 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for u64

§

type Bytes = [u8; 8]

§

fn serialize(&self) -> <u64 as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl Serialize for ()

§

type Bytes = [u8; 0]

§

fn serialize(&self) -> <() as Serialize>::Bytes

§

fn serialize_into(&self, _bytes: &mut Vec<u8>)

§

impl<A, B> Serialize for (A, B)
where A: Serialize, B: Serialize,

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C> Serialize for (A, B, C)
where A: Serialize, B: Serialize, C: Serialize,

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D> Serialize for (A, B, C, D)
where A: Serialize, B: Serialize, C: Serialize, D: Serialize,

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C, D) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D, E> Serialize for (A, B, C, D, E)
where A: Serialize, B: Serialize, C: Serialize, D: Serialize, E: Serialize,

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C, D, E) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D, E, F> Serialize for (A, B, C, D, E, F)

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C, D, E, F) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D, E, F, G> Serialize for (A, B, C, D, E, F, G)

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C, D, E, F, G) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D, E, F, G, H> Serialize for (A, B, C, D, E, F, G, H)

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C, D, E, F, G, H) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D, E, F, G, H, I> Serialize for (A, B, C, D, E, F, G, H, I)

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <(A, B, C, D, E, F, G, H, I) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<A, B, C, D, E, F, G, H, I, J> Serialize for (A, B, C, D, E, F, G, H, I, J)

§

impl<A, B, C, D, E, F, G, H, I, J, K> Serialize for (A, B, C, D, E, F, G, H, I, J, K)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L> Serialize for (A, B, C, D, E, F, G, H, I, J, K, L)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Serialize for (A, B, C, D, E, F, G, H, I, J, K, L, M)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Serialize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> Serialize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

§

impl<T> Serialize for [T]
where T: Serialize,

§

type Bytes = Vec<u8>

§

fn serialize(&self) -> <[T] as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

§

impl<T> Serialize for (T,)
where T: Serialize,

§

type Bytes = <T as Serialize>::Bytes

§

fn serialize(&self) -> <(T,) as Serialize>::Bytes

§

fn serialize_into(&self, bytes: &mut Vec<u8>)

Implementors§

Source§

impl Serialize for AspectRatio

Source§

type Bytes = [u8; 8]

Source§

impl Serialize for WmHints

Source§

impl Serialize for WmSizeHints

§

impl Serialize for EnableReply

§

type Bytes = [u8; 12]

§

impl Serialize for GetOverlayWindowReply

§

type Bytes = [u8; 32]

§

impl Serialize for x11rb::protocol::composite::QueryVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for BufferFromPixmapReply

§

type Bytes = [u8; 32]

§

impl Serialize for BuffersFromPixmapReply

§

type Bytes = Vec<u8>

§

impl Serialize for FDFromFenceReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetSupportedModifiersReply

§

type Bytes = Vec<u8>

§

impl Serialize for OpenReply

§

type Bytes = [u8; 32]

§

impl Serialize for x11rb::protocol::dri3::QueryVersionReply

§

type Bytes = [u8; 16]

§

impl Serialize for x11rb::protocol::ge::QueryVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for CompleteNotifyEvent

§

type Bytes = [u8; 40]

§

impl Serialize for x11rb::protocol::present::ConfigureNotifyEvent

§

type Bytes = [u8; 40]

§

impl Serialize for GenericEvent

§

type Bytes = [u8; 16]

§

impl Serialize for IdleNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for Notify

§

type Bytes = [u8; 8]

§

impl Serialize for QueryCapabilitiesReply

§

type Bytes = [u8; 12]

§

impl Serialize for x11rb::protocol::present::QueryVersionReply

§

type Bytes = [u8; 16]

§

impl Serialize for RedirectNotifyEvent

§

type Bytes = Vec<u8>

§

impl Serialize for CreateLeaseReply

§

type Bytes = [u8; 32]

§

impl Serialize for CreateModeReply

§

type Bytes = [u8; 32]

§

impl Serialize for CrtcChange

§

type Bytes = [u8; 28]

§

impl Serialize for GetCrtcGammaReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetCrtcGammaSizeReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetCrtcInfoReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetCrtcTransformReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetMonitorsReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetOutputInfoReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetOutputPrimaryReply

§

type Bytes = [u8; 12]

§

impl Serialize for GetOutputPropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetPanningReply

§

type Bytes = [u8; 36]

§

impl Serialize for GetProviderInfoReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetProviderPropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetProvidersReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetScreenInfoReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetScreenResourcesCurrentReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetScreenResourcesReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetScreenSizeRangeReply

§

type Bytes = [u8; 32]

§

impl Serialize for LeaseNotify

§

type Bytes = [u8; 28]

§

impl Serialize for ListOutputPropertiesReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListProviderPropertiesReply

§

type Bytes = Vec<u8>

§

impl Serialize for ModeInfo

§

type Bytes = [u8; 32]

§

impl Serialize for MonitorInfo

§

type Bytes = Vec<u8>

§

impl Serialize for NotifyData

§

type Bytes = [u8; 28]

§

impl Serialize for x11rb::protocol::randr::NotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for OutputChange

§

type Bytes = [u8; 28]

§

impl Serialize for OutputProperty

§

type Bytes = [u8; 28]

§

impl Serialize for ProviderChange

§

type Bytes = [u8; 28]

§

impl Serialize for ProviderProperty

§

type Bytes = [u8; 28]

§

impl Serialize for QueryOutputPropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for QueryProviderPropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for x11rb::protocol::randr::QueryVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for RefreshRates

§

type Bytes = Vec<u8>

§

impl Serialize for ResourceChange

§

type Bytes = [u8; 28]

§

impl Serialize for ScreenChangeNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for ScreenSize

§

type Bytes = [u8; 8]

§

impl Serialize for SetCrtcConfigReply

§

type Bytes = [u8; 32]

§

impl Serialize for SetPanningReply

§

type Bytes = [u8; 12]

§

impl Serialize for SetScreenConfigReply

§

type Bytes = [u8; 32]

§

impl Serialize for Animcursorelt

§

type Bytes = [u8; 8]

§

impl Serialize for Color

§

type Bytes = [u8; 8]

§

impl Serialize for Directformat

§

type Bytes = [u8; 16]

§

impl Serialize for Glyphinfo

§

type Bytes = [u8; 12]

§

impl Serialize for Indexvalue

§

type Bytes = [u8; 12]

§

impl Serialize for Linefix

§

type Bytes = [u8; 16]

§

impl Serialize for Pictdepth

§

type Bytes = Vec<u8>

§

impl Serialize for Pictforminfo

§

type Bytes = [u8; 28]

§

impl Serialize for Pictscreen

§

type Bytes = Vec<u8>

§

impl Serialize for Pictvisual

§

type Bytes = [u8; 8]

§

impl Serialize for Pointfix

§

type Bytes = [u8; 8]

§

impl Serialize for QueryFiltersReply

§

type Bytes = Vec<u8>

§

impl Serialize for QueryPictFormatsReply

§

type Bytes = Vec<u8>

§

impl Serialize for QueryPictIndexValuesReply

§

type Bytes = Vec<u8>

§

impl Serialize for x11rb::protocol::render::QueryVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for Spanfix

§

type Bytes = [u8; 12]

§

impl Serialize for Transform

§

type Bytes = [u8; 36]

§

impl Serialize for Trap

§

type Bytes = [u8; 24]

§

impl Serialize for Trapezoid

§

type Bytes = [u8; 40]

§

impl Serialize for Triangle

§

type Bytes = [u8; 24]

§

impl Serialize for GetRectanglesReply

§

type Bytes = Vec<u8>

§

impl Serialize for InputSelectedReply

§

type Bytes = [u8; 8]

§

impl Serialize for x11rb::protocol::shape::NotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for QueryExtentsReply

§

type Bytes = [u8; 28]

§

impl Serialize for x11rb::protocol::shape::QueryVersionReply

§

type Bytes = [u8; 12]

§

impl Serialize for AlarmNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for CounterNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for GetPriorityReply

§

type Bytes = [u8; 12]

§

impl Serialize for InitializeReply

§

type Bytes = [u8; 32]

§

impl Serialize for Int64

§

type Bytes = [u8; 8]

§

impl Serialize for ListSystemCountersReply

§

type Bytes = Vec<u8>

§

impl Serialize for QueryAlarmReply

§

type Bytes = [u8; 40]

§

impl Serialize for QueryCounterReply

§

type Bytes = [u8; 16]

§

impl Serialize for QueryFenceReply

§

type Bytes = [u8; 32]

§

impl Serialize for Systemcounter

§

type Bytes = Vec<u8>

§

impl Serialize for Trigger

§

type Bytes = [u8; 20]

§

impl Serialize for Waitcondition

§

type Bytes = [u8; 28]

§

impl Serialize for GetVersionReply

§

type Bytes = [u8; 12]

§

impl Serialize for GetXIDListReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetXIDRangeReply

§

type Bytes = [u8; 16]

§

impl Serialize for CursorNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for FetchRegionReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetClientDisconnectModeReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetCursorImageAndNameReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetCursorImageReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetCursorNameReply

§

type Bytes = Vec<u8>

§

impl Serialize for x11rb::protocol::xfixes::QueryVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for x11rb::protocol::xfixes::SelectionNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for AddMaster

§

type Bytes = Vec<u8>

§

impl Serialize for AttachSlave

§

type Bytes = [u8; 8]

§

impl Serialize for AxisInfo

§

type Bytes = [u8; 12]

§

impl Serialize for BarrierHitEvent

§

type Bytes = [u8; 68]

§

impl Serialize for BarrierReleasePointerInfo

§

type Bytes = [u8; 12]

§

impl Serialize for BellFeedbackCtl

§

type Bytes = [u8; 12]

§

impl Serialize for BellFeedbackState

§

type Bytes = [u8; 12]

§

impl Serialize for ButtonClass

§

type Bytes = Vec<u8>

§

impl Serialize for ButtonInfo

§

type Bytes = [u8; 4]

§

impl Serialize for x11rb::protocol::xinput::ButtonPressEvent

§

type Bytes = Vec<u8>

§

impl Serialize for ButtonState

§

type Bytes = [u8; 36]

§

impl Serialize for ChangeDeviceControlReply

§

type Bytes = [u8; 32]

§

impl Serialize for ChangeDeviceNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for ChangeKeyboardDeviceReply

§

type Bytes = [u8; 32]

§

impl Serialize for ChangePointerDeviceReply

§

type Bytes = [u8; 32]

§

impl Serialize for DetachSlave

§

type Bytes = [u8; 8]

§

impl Serialize for DeviceAbsAreaCtrl

§

type Bytes = [u8; 28]

§

impl Serialize for DeviceAbsAreaState

§

type Bytes = [u8; 28]

§

impl Serialize for DeviceAbsCalibCtl

§

type Bytes = [u8; 36]

§

impl Serialize for DeviceAbsCalibState

§

type Bytes = [u8; 36]

§

impl Serialize for DeviceButtonStateNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceChangedEvent

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceClass

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceClassDataButton

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceClassDataGesture

§

type Bytes = [u8; 2]

§

impl Serialize for DeviceClassDataKey

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceClassDataScroll

§

type Bytes = [u8; 18]

§

impl Serialize for DeviceClassDataTouch

§

type Bytes = [u8; 2]

§

impl Serialize for DeviceClassDataValuator

§

type Bytes = [u8; 38]

§

impl Serialize for DeviceCoreCtrl

§

type Bytes = [u8; 8]

§

impl Serialize for DeviceCoreState

§

type Bytes = [u8; 8]

§

impl Serialize for DeviceCtl

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceCtlDataAbsArea

§

type Bytes = [u8; 24]

§

impl Serialize for DeviceCtlDataAbsCalib

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceCtlDataCore

§

type Bytes = [u8; 4]

§

impl Serialize for DeviceCtlDataResolution

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceEnableCtrl

§

type Bytes = [u8; 8]

§

impl Serialize for DeviceEnableState

§

type Bytes = [u8; 8]

§

impl Serialize for DeviceFocusInEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceInfo

§

type Bytes = [u8; 8]

§

impl Serialize for DeviceKeyPressEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceKeyStateNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceMappingNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceName

§

type Bytes = Vec<u8>

§

impl Serialize for DevicePresenceNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DevicePropertyNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceResolutionCtl

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceResolutionState

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceState

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceStateDataAbsArea

§

type Bytes = [u8; 24]

§

impl Serialize for DeviceStateDataAbsCalib

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceStateDataCore

§

type Bytes = [u8; 4]

§

impl Serialize for DeviceStateDataResolution

§

type Bytes = Vec<u8>

§

impl Serialize for DeviceStateNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for DeviceValuatorEvent

§

type Bytes = [u8; 32]

§

impl Serialize for EnterEvent

§

type Bytes = Vec<u8>

§

impl Serialize for EventForSend

§

type Bytes = [u8; 32]

§

impl Serialize for EventMask

§

type Bytes = Vec<u8>

§

impl Serialize for FeedbackCtl

§

type Bytes = Vec<u8>

§

impl Serialize for FeedbackCtlDataBell

§

type Bytes = [u8; 8]

§

impl Serialize for FeedbackCtlDataInteger

§

type Bytes = [u8; 4]

§

impl Serialize for FeedbackCtlDataKeyboard

§

type Bytes = [u8; 16]

§

impl Serialize for FeedbackCtlDataLed

§

type Bytes = [u8; 8]

§

impl Serialize for FeedbackCtlDataPointer

§

type Bytes = [u8; 8]

§

impl Serialize for FeedbackCtlDataString

§

type Bytes = Vec<u8>

§

impl Serialize for FeedbackState

§

type Bytes = Vec<u8>

§

impl Serialize for FeedbackStateDataBell

§

type Bytes = [u8; 8]

§

impl Serialize for FeedbackStateDataInteger

§

type Bytes = [u8; 12]

§

impl Serialize for FeedbackStateDataKeyboard

§

type Bytes = [u8; 48]

§

impl Serialize for FeedbackStateDataLed

§

type Bytes = [u8; 8]

§

impl Serialize for FeedbackStateDataPointer

§

type Bytes = [u8; 8]

§

impl Serialize for FeedbackStateDataString

§

type Bytes = Vec<u8>

§

impl Serialize for Fp3232

§

type Bytes = [u8; 8]

§

impl Serialize for GestureClass

§

type Bytes = [u8; 8]

§

impl Serialize for GesturePinchBeginEvent

§

type Bytes = [u8; 100]

§

impl Serialize for GestureSwipeBeginEvent

§

type Bytes = [u8; 92]

§

impl Serialize for GetDeviceButtonMappingReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetDeviceControlReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetDeviceDontPropagateListReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetDeviceFocusReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetDeviceKeyMappingReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetDeviceModifierMappingReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetDeviceMotionEventsReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetDevicePropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetExtensionVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetFeedbackControlReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetSelectedExtensionEventsReply

§

type Bytes = Vec<u8>

§

impl Serialize for GrabDeviceReply

§

type Bytes = [u8; 32]

§

impl Serialize for GrabModifierInfo

§

type Bytes = [u8; 8]

§

impl Serialize for GroupInfo

§

type Bytes = [u8; 4]

§

impl Serialize for HierarchyChange

§

type Bytes = Vec<u8>

§

impl Serialize for HierarchyChangeDataAddMaster

§

type Bytes = Vec<u8>

§

impl Serialize for HierarchyChangeDataAttachSlave

§

type Bytes = [u8; 4]

§

impl Serialize for HierarchyChangeDataDetachSlave

§

type Bytes = [u8; 4]

§

impl Serialize for HierarchyChangeDataRemoveMaster

§

type Bytes = [u8; 8]

§

impl Serialize for HierarchyEvent

§

type Bytes = Vec<u8>

§

impl Serialize for HierarchyInfo

§

type Bytes = [u8; 12]

§

impl Serialize for InputClassInfo

§

type Bytes = [u8; 2]

§

impl Serialize for InputInfo

§

type Bytes = Vec<u8>

§

impl Serialize for InputInfoInfoButton

§

type Bytes = [u8; 2]

§

impl Serialize for InputInfoInfoKey

§

type Bytes = [u8; 6]

§

impl Serialize for InputInfoInfoValuator

§

type Bytes = Vec<u8>

§

impl Serialize for InputState

§

type Bytes = Vec<u8>

§

impl Serialize for InputStateDataButton

§

type Bytes = [u8; 34]

§

impl Serialize for InputStateDataKey

§

type Bytes = [u8; 34]

§

impl Serialize for InputStateDataValuator

§

type Bytes = Vec<u8>

§

impl Serialize for IntegerFeedbackCtl

§

type Bytes = [u8; 8]

§

impl Serialize for IntegerFeedbackState

§

type Bytes = [u8; 16]

§

impl Serialize for KbdFeedbackCtl

§

type Bytes = [u8; 20]

§

impl Serialize for KbdFeedbackState

§

type Bytes = [u8; 52]

§

impl Serialize for KeyClass

§

type Bytes = Vec<u8>

§

impl Serialize for KeyInfo

§

type Bytes = [u8; 8]

§

impl Serialize for x11rb::protocol::xinput::KeyPressEvent

§

type Bytes = Vec<u8>

§

impl Serialize for KeyState

§

type Bytes = [u8; 36]

§

impl Serialize for LedFeedbackCtl

§

type Bytes = [u8; 12]

§

impl Serialize for LedFeedbackState

§

type Bytes = [u8; 12]

§

impl Serialize for ListDevicePropertiesReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListInputDevicesReply

§

type Bytes = Vec<u8>

§

impl Serialize for ModifierInfo

§

type Bytes = [u8; 16]

§

impl Serialize for OpenDeviceReply

§

type Bytes = Vec<u8>

§

impl Serialize for PropertyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for PtrFeedbackCtl

§

type Bytes = [u8; 12]

§

impl Serialize for PtrFeedbackState

§

type Bytes = [u8; 12]

§

impl Serialize for QueryDeviceStateReply

§

type Bytes = Vec<u8>

§

impl Serialize for RawButtonPressEvent

§

type Bytes = Vec<u8>

§

impl Serialize for RawKeyPressEvent

§

type Bytes = Vec<u8>

§

impl Serialize for RawTouchBeginEvent

§

type Bytes = Vec<u8>

§

impl Serialize for RemoveMaster

§

type Bytes = [u8; 12]

§

impl Serialize for ScrollClass

§

type Bytes = [u8; 24]

§

impl Serialize for SetDeviceButtonMappingReply

§

type Bytes = [u8; 32]

§

impl Serialize for SetDeviceModeReply

§

type Bytes = [u8; 32]

§

impl Serialize for SetDeviceModifierMappingReply

§

type Bytes = [u8; 32]

§

impl Serialize for SetDeviceValuatorsReply

§

type Bytes = [u8; 32]

§

impl Serialize for StringFeedbackCtl

§

type Bytes = Vec<u8>

§

impl Serialize for StringFeedbackState

§

type Bytes = Vec<u8>

§

impl Serialize for TouchBeginEvent

§

type Bytes = Vec<u8>

§

impl Serialize for TouchClass

§

type Bytes = [u8; 8]

§

impl Serialize for TouchOwnershipEvent

§

type Bytes = [u8; 48]

§

impl Serialize for ValuatorClass

§

type Bytes = [u8; 44]

§

impl Serialize for ValuatorInfo

§

type Bytes = Vec<u8>

§

impl Serialize for ValuatorState

§

type Bytes = Vec<u8>

§

impl Serialize for XIDeviceInfo

§

type Bytes = Vec<u8>

§

impl Serialize for XIGetClientPointerReply

§

type Bytes = [u8; 32]

§

impl Serialize for XIGetFocusReply

§

type Bytes = [u8; 32]

§

impl Serialize for XIGetPropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for XIGetSelectedEventsReply

§

type Bytes = Vec<u8>

§

impl Serialize for XIGrabDeviceReply

§

type Bytes = [u8; 32]

§

impl Serialize for XIListPropertiesReply

§

type Bytes = Vec<u8>

§

impl Serialize for XIPassiveGrabDeviceReply

§

type Bytes = Vec<u8>

§

impl Serialize for XIQueryDeviceReply

§

type Bytes = Vec<u8>

§

impl Serialize for XIQueryPointerReply

§

type Bytes = Vec<u8>

§

impl Serialize for XIQueryVersionReply

§

type Bytes = [u8; 32]

§

impl Serialize for AccessXNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for Action

§

type Bytes = [u8; 8]

§

impl Serialize for ActionMessageEvent

§

type Bytes = [u8; 32]

§

impl Serialize for Behavior

§

type Bytes = [u8; 2]

§

impl Serialize for BellNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for CommonBehavior

§

type Bytes = [u8; 2]

§

impl Serialize for CompatMapNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for ControlsNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for CountedString16

§

type Bytes = Vec<u8>

§

impl Serialize for DefaultBehavior

§

type Bytes = [u8; 2]

§

impl Serialize for DeviceLedInfo

§

type Bytes = Vec<u8>

§

impl Serialize for ExtensionDeviceNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for GetCompatMapReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetControlsReply

§

type Bytes = [u8; 92]

§

impl Serialize for GetDeviceInfoReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetIndicatorMapReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetIndicatorStateReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetKbdByNameRepliesCompatMap

§

type Bytes = Vec<u8>

§

impl Serialize for GetKbdByNameRepliesGeometry

§

type Bytes = Vec<u8>

§

impl Serialize for GetKbdByNameRepliesIndicatorMaps

§

type Bytes = Vec<u8>

§

impl Serialize for GetKbdByNameRepliesKeyNames

§

type Bytes = Vec<u8>

§

impl Serialize for GetKbdByNameRepliesTypes

§

type Bytes = Vec<u8>

§

impl Serialize for GetKbdByNameReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetMapReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetNamedIndicatorReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetNamesReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetStateReply

§

type Bytes = [u8; 32]

§

impl Serialize for IndicatorMap

§

type Bytes = [u8; 12]

§

impl Serialize for IndicatorMapNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for IndicatorStateNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for KTMapEntry

§

type Bytes = [u8; 8]

§

impl Serialize for KTSetMapEntry

§

type Bytes = [u8; 4]

§

impl Serialize for Key

§

type Bytes = [u8; 8]

§

impl Serialize for KeyAlias

§

type Bytes = [u8; 8]

§

impl Serialize for KeyModMap

§

type Bytes = [u8; 2]

§

impl Serialize for KeyName

§

type Bytes = [u8; 4]

§

impl Serialize for KeySymMap

§

type Bytes = Vec<u8>

§

impl Serialize for KeyType

§

type Bytes = Vec<u8>

§

impl Serialize for KeyVModMap

§

type Bytes = [u8; 4]

§

impl Serialize for ListComponentsReply

§

type Bytes = Vec<u8>

§

impl Serialize for Listing

§

type Bytes = Vec<u8>

§

impl Serialize for x11rb::protocol::xkb::MapNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for ModDef

§

type Bytes = [u8; 4]

§

impl Serialize for NamesNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for NewKeyboardNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for Outline

§

type Bytes = Vec<u8>

§

impl Serialize for Overlay

§

type Bytes = Vec<u8>

§

impl Serialize for OverlayBehavior

§

type Bytes = [u8; 2]

§

impl Serialize for OverlayKey

§

type Bytes = [u8; 8]

§

impl Serialize for OverlayRow

§

type Bytes = Vec<u8>

§

impl Serialize for PerClientFlagsReply

§

type Bytes = [u8; 32]

§

impl Serialize for RadioGroupBehavior

§

type Bytes = [u8; 2]

§

impl Serialize for Row

§

type Bytes = Vec<u8>

§

impl Serialize for SAActionMessage

§

type Bytes = [u8; 8]

§

impl Serialize for SADeviceBtn

§

type Bytes = [u8; 8]

§

impl Serialize for SADeviceValuator

§

type Bytes = [u8; 8]

§

impl Serialize for SAIsoLock

§

type Bytes = [u8; 8]

§

impl Serialize for SALockDeviceBtn

§

type Bytes = [u8; 8]

§

impl Serialize for SALockPtrBtn

§

type Bytes = [u8; 8]

§

impl Serialize for SAMovePtr

§

type Bytes = [u8; 8]

§

impl Serialize for SANoAction

§

type Bytes = [u8; 8]

§

impl Serialize for SAPtrBtn

§

type Bytes = [u8; 8]

§

impl Serialize for SARedirectKey

§

type Bytes = [u8; 8]

§

impl Serialize for SASetControls

§

type Bytes = [u8; 8]

§

impl Serialize for SASetGroup

§

type Bytes = [u8; 8]

§

impl Serialize for SASetMods

§

type Bytes = [u8; 8]

§

impl Serialize for SASetPtrDflt

§

type Bytes = [u8; 8]

§

impl Serialize for SASwitchScreen

§

type Bytes = [u8; 8]

§

impl Serialize for SATerminate

§

type Bytes = [u8; 8]

§

impl Serialize for SIAction

§

type Bytes = [u8; 8]

§

impl Serialize for SelectEventsAuxAccessXNotify

§

type Bytes = [u8; 4]

§

impl Serialize for SelectEventsAuxActionMessage

§

type Bytes = [u8; 2]

§

impl Serialize for SelectEventsAuxBellNotify

§

type Bytes = [u8; 2]

§

impl Serialize for SelectEventsAuxCompatMapNotify

§

type Bytes = [u8; 2]

§

impl Serialize for SelectEventsAuxControlsNotify

§

type Bytes = [u8; 8]

§

impl Serialize for SelectEventsAuxExtensionDeviceNotify

§

type Bytes = [u8; 4]

§

impl Serialize for SelectEventsAuxIndicatorMapNotify

§

type Bytes = [u8; 8]

§

impl Serialize for SelectEventsAuxIndicatorStateNotify

§

type Bytes = [u8; 8]

§

impl Serialize for SelectEventsAuxNamesNotify

§

type Bytes = [u8; 4]

§

impl Serialize for SelectEventsAuxNewKeyboardNotify

§

type Bytes = [u8; 4]

§

impl Serialize for SelectEventsAuxStateNotify

§

type Bytes = [u8; 4]

§

impl Serialize for SetBehavior

§

type Bytes = [u8; 4]

§

impl Serialize for SetDebuggingFlagsReply

§

type Bytes = [u8; 32]

§

impl Serialize for SetExplicit

§

type Bytes = [u8; 2]

§

impl Serialize for SetKeyType

§

type Bytes = Vec<u8>

§

impl Serialize for Shape

§

type Bytes = Vec<u8>

§

impl Serialize for StateNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for SymInterpret

§

type Bytes = [u8; 16]

§

impl Serialize for UseExtensionReply

§

type Bytes = [u8; 32]

§

impl Serialize for AllocColorCellsReply

§

type Bytes = Vec<u8>

§

impl Serialize for AllocColorPlanesReply

§

type Bytes = Vec<u8>

§

impl Serialize for AllocColorReply

§

type Bytes = [u8; 20]

§

impl Serialize for AllocNamedColorReply

§

type Bytes = [u8; 24]

§

impl Serialize for Arc

§

type Bytes = [u8; 12]

§

impl Serialize for x11rb::protocol::xproto::ButtonPressEvent

§

type Bytes = [u8; 32]

§

impl Serialize for Char2b

§

type Bytes = [u8; 2]

§

impl Serialize for Charinfo

§

type Bytes = [u8; 12]

§

impl Serialize for CirculateNotifyEvent

§

type Bytes = [u8; 20]

§

impl Serialize for ClientMessageData

§

type Bytes = [u8; 20]

§

impl Serialize for ClientMessageEvent

§

type Bytes = [u8; 32]

§

impl Serialize for Coloritem

§

type Bytes = [u8; 12]

§

impl Serialize for ColormapNotifyEvent

§

type Bytes = [u8; 16]

§

impl Serialize for x11rb::protocol::xproto::ConfigureNotifyEvent

§

type Bytes = [u8; 28]

§

impl Serialize for ConfigureRequestEvent

§

type Bytes = [u8; 28]

§

impl Serialize for CreateNotifyEvent

§

type Bytes = [u8; 24]

§

impl Serialize for Depth

§

type Bytes = Vec<u8>

§

impl Serialize for DestroyNotifyEvent

§

type Bytes = [u8; 12]

§

impl Serialize for EnterNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for ExposeEvent

§

type Bytes = [u8; 20]

§

impl Serialize for FocusInEvent

§

type Bytes = [u8; 12]

§

impl Serialize for Fontprop

§

type Bytes = [u8; 8]

§

impl Serialize for Format

§

type Bytes = [u8; 8]

§

impl Serialize for GeGenericEvent

§

type Bytes = [u8; 32]

§

impl Serialize for GetAtomNameReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetFontPathReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetGeometryReply

§

type Bytes = [u8; 24]

§

impl Serialize for GetImageReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetInputFocusReply

§

type Bytes = [u8; 12]

§

impl Serialize for GetKeyboardControlReply

§

type Bytes = [u8; 52]

§

impl Serialize for GetKeyboardMappingReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetModifierMappingReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetMotionEventsReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetPointerControlReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetPointerMappingReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetPropertyReply

§

type Bytes = Vec<u8>

§

impl Serialize for GetScreenSaverReply

§

type Bytes = [u8; 32]

§

impl Serialize for GetSelectionOwnerReply

§

type Bytes = [u8; 12]

§

impl Serialize for GetWindowAttributesReply

§

type Bytes = [u8; 44]

§

impl Serialize for GrabKeyboardReply

§

type Bytes = [u8; 8]

§

impl Serialize for GrabPointerReply

§

type Bytes = [u8; 8]

§

impl Serialize for GraphicsExposureEvent

§

type Bytes = [u8; 24]

§

impl Serialize for GravityNotifyEvent

§

type Bytes = [u8; 16]

§

impl Serialize for Host

§

type Bytes = Vec<u8>

§

impl Serialize for InternAtomReply

§

type Bytes = [u8; 12]

§

impl Serialize for x11rb::protocol::xproto::KeyPressEvent

§

type Bytes = [u8; 32]

§

impl Serialize for KeymapNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for ListExtensionsReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListFontsReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListFontsWithInfoReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListHostsReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListInstalledColormapsReply

§

type Bytes = Vec<u8>

§

impl Serialize for ListPropertiesReply

§

type Bytes = Vec<u8>

§

impl Serialize for LookupColorReply

§

type Bytes = [u8; 20]

§

impl Serialize for x11rb::protocol::xproto::MapNotifyEvent

§

type Bytes = [u8; 16]

§

impl Serialize for MapRequestEvent

§

type Bytes = [u8; 12]

§

impl Serialize for MappingNotifyEvent

§

type Bytes = [u8; 8]

§

impl Serialize for MotionNotifyEvent

§

type Bytes = [u8; 32]

§

impl Serialize for NoExposureEvent

§

type Bytes = [u8; 12]

§

impl Serialize for Point

§

type Bytes = [u8; 4]

§

impl Serialize for PropertyNotifyEvent

§

type Bytes = [u8; 20]

§

impl Serialize for QueryBestSizeReply

§

type Bytes = [u8; 12]

§

impl Serialize for QueryColorsReply

§

type Bytes = Vec<u8>

§

impl Serialize for QueryExtensionReply

§

type Bytes = [u8; 12]

§

impl Serialize for QueryFontReply

§

type Bytes = Vec<u8>

§

impl Serialize for QueryKeymapReply

§

type Bytes = [u8; 40]

§

impl Serialize for QueryPointerReply

§

type Bytes = [u8; 28]

§

impl Serialize for QueryTextExtentsReply

§

type Bytes = [u8; 28]

§

impl Serialize for QueryTreeReply

§

type Bytes = Vec<u8>

§

impl Serialize for Rectangle

§

type Bytes = [u8; 8]

§

impl Serialize for ReparentNotifyEvent

§

type Bytes = [u8; 24]

§

impl Serialize for ResizeRequestEvent

§

type Bytes = [u8; 12]

§

impl Serialize for Rgb

§

type Bytes = [u8; 8]

§

impl Serialize for Screen

§

type Bytes = Vec<u8>

§

impl Serialize for Segment

§

type Bytes = [u8; 8]

§

impl Serialize for SelectionClearEvent

§

type Bytes = [u8; 16]

§

impl Serialize for x11rb::protocol::xproto::SelectionNotifyEvent

§

type Bytes = [u8; 24]

§

impl Serialize for SelectionRequestEvent

§

type Bytes = [u8; 28]

§

impl Serialize for SetModifierMappingReply

§

type Bytes = [u8; 8]

§

impl Serialize for SetPointerMappingReply

§

type Bytes = [u8; 8]

§

impl Serialize for Setup

§

type Bytes = Vec<u8>

§

impl Serialize for SetupAuthenticate

§

type Bytes = Vec<u8>

§

impl Serialize for SetupFailed

§

type Bytes = Vec<u8>

§

impl Serialize for SetupRequest

§

type Bytes = Vec<u8>

§

impl Serialize for Str

§

type Bytes = Vec<u8>

§

impl Serialize for Timecoord

§

type Bytes = [u8; 8]

§

impl Serialize for TranslateCoordinatesReply

§

type Bytes = [u8; 16]

§

impl Serialize for UnmapNotifyEvent

§

type Bytes = [u8; 16]

§

impl Serialize for VisibilityNotifyEvent

§

type Bytes = [u8; 12]

§

impl Serialize for Visualtype

§

type Bytes = [u8; 24]