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§

source

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§

source

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

Serialize this value into X11 raw bytes.

source

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§

source§

impl Serialize for bool

§

type Bytes = [u8; 1]

source§

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

source§

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

source§

impl Serialize for f32

§

type Bytes = <u32 as Serialize>::Bytes

source§

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

source§

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

source§

impl Serialize for f64

§

type Bytes = <u64 as Serialize>::Bytes

source§

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

source§

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

source§

impl Serialize for i8

§

type Bytes = [u8; 1]

source§

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

source§

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

source§

impl Serialize for i16

§

type Bytes = [u8; 2]

source§

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

source§

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

source§

impl Serialize for i32

§

type Bytes = [u8; 4]

source§

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

source§

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

source§

impl Serialize for i64

§

type Bytes = [u8; 8]

source§

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

source§

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

source§

impl Serialize for u8

§

type Bytes = [u8; 1]

source§

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

source§

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

source§

impl Serialize for u16

§

type Bytes = [u8; 2]

source§

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

source§

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

source§

impl Serialize for u32

§

type Bytes = [u8; 4]

source§

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

source§

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

source§

impl Serialize for u64

§

type Bytes = [u8; 8]

source§

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

source§

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

source§

impl Serialize for ()

§

type Bytes = [u8; 0]

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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>

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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>

source§

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

source§

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

source§

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

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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)

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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)

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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)

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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)

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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)

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

impl<T: Serialize> Serialize for [T]

§

type Bytes = Vec<u8>

source§

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

source§

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

source§

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

§

type Bytes = <T as Serialize>::Bytes

source§

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

source§

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

Implementors§

source§

impl Serialize for EnableReply

§

type Bytes = [u8; 12]

source§

impl Serialize for x11rb_protocol::protocol::ge::QueryVersionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for CreateLeaseReply

§

type Bytes = [u8; 32]

source§

impl Serialize for CreateModeReply

§

type Bytes = [u8; 32]

source§

impl Serialize for CrtcChange

§

type Bytes = [u8; 28]

source§

impl Serialize for GetCrtcGammaReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetCrtcGammaSizeReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetCrtcInfoReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetCrtcTransformReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetMonitorsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetOutputInfoReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetOutputPrimaryReply

§

type Bytes = [u8; 12]

source§

impl Serialize for GetOutputPropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetPanningReply

§

type Bytes = [u8; 36]

source§

impl Serialize for GetProviderInfoReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetProviderPropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetProvidersReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetScreenInfoReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetScreenResourcesCurrentReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetScreenResourcesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetScreenSizeRangeReply

§

type Bytes = [u8; 32]

source§

impl Serialize for LeaseNotify

§

type Bytes = [u8; 28]

source§

impl Serialize for ListOutputPropertiesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListProviderPropertiesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ModeInfo

§

type Bytes = [u8; 32]

source§

impl Serialize for MonitorInfo

§

type Bytes = Vec<u8>

source§

impl Serialize for NotifyData

§

type Bytes = [u8; 28]

source§

impl Serialize for x11rb_protocol::protocol::randr::NotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for OutputChange

§

type Bytes = [u8; 28]

source§

impl Serialize for OutputProperty

§

type Bytes = [u8; 28]

source§

impl Serialize for ProviderChange

§

type Bytes = [u8; 28]

source§

impl Serialize for ProviderProperty

§

type Bytes = [u8; 28]

source§

impl Serialize for QueryOutputPropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for QueryProviderPropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for x11rb_protocol::protocol::randr::QueryVersionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for RefreshRates

§

type Bytes = Vec<u8>

source§

impl Serialize for ResourceChange

§

type Bytes = [u8; 28]

source§

impl Serialize for ScreenChangeNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for ScreenSize

§

type Bytes = [u8; 8]

source§

impl Serialize for SetCrtcConfigReply

§

type Bytes = [u8; 32]

source§

impl Serialize for SetPanningReply

§

type Bytes = [u8; 12]

source§

impl Serialize for SetScreenConfigReply

§

type Bytes = [u8; 32]

source§

impl Serialize for Animcursorelt

§

type Bytes = [u8; 8]

source§

impl Serialize for Color

§

type Bytes = [u8; 8]

source§

impl Serialize for Directformat

§

type Bytes = [u8; 16]

source§

impl Serialize for Glyphinfo

§

type Bytes = [u8; 12]

source§

impl Serialize for Indexvalue

§

type Bytes = [u8; 12]

source§

impl Serialize for Linefix

§

type Bytes = [u8; 16]

source§

impl Serialize for Pictdepth

§

type Bytes = Vec<u8>

source§

impl Serialize for Pictforminfo

§

type Bytes = [u8; 28]

source§

impl Serialize for Pictscreen

§

type Bytes = Vec<u8>

source§

impl Serialize for Pictvisual

§

type Bytes = [u8; 8]

source§

impl Serialize for Pointfix

§

type Bytes = [u8; 8]

source§

impl Serialize for QueryFiltersReply

§

type Bytes = Vec<u8>

source§

impl Serialize for QueryPictFormatsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for QueryPictIndexValuesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for x11rb_protocol::protocol::render::QueryVersionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for Spanfix

§

type Bytes = [u8; 12]

source§

impl Serialize for Transform

§

type Bytes = [u8; 36]

source§

impl Serialize for Trap

§

type Bytes = [u8; 24]

source§

impl Serialize for Trapezoid

§

type Bytes = [u8; 40]

source§

impl Serialize for Triangle

§

type Bytes = [u8; 24]

source§

impl Serialize for GetRectanglesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for InputSelectedReply

§

type Bytes = [u8; 8]

source§

impl Serialize for x11rb_protocol::protocol::shape::NotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for QueryExtentsReply

§

type Bytes = [u8; 28]

source§

impl Serialize for x11rb_protocol::protocol::shape::QueryVersionReply

§

type Bytes = [u8; 12]

source§

impl Serialize for GetVersionReply

§

type Bytes = [u8; 12]

source§

impl Serialize for GetXIDListReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetXIDRangeReply

§

type Bytes = [u8; 16]

source§

impl Serialize for CursorNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for FetchRegionReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetClientDisconnectModeReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetCursorImageAndNameReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetCursorImageReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetCursorNameReply

§

type Bytes = Vec<u8>

source§

impl Serialize for x11rb_protocol::protocol::xfixes::QueryVersionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for x11rb_protocol::protocol::xfixes::SelectionNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for AddMaster

§

type Bytes = Vec<u8>

source§

impl Serialize for AttachSlave

§

type Bytes = [u8; 8]

source§

impl Serialize for AxisInfo

§

type Bytes = [u8; 12]

source§

impl Serialize for BarrierHitEvent

§

type Bytes = [u8; 68]

source§

impl Serialize for BarrierReleasePointerInfo

§

type Bytes = [u8; 12]

source§

impl Serialize for BellFeedbackCtl

§

type Bytes = [u8; 12]

source§

impl Serialize for BellFeedbackState

§

type Bytes = [u8; 12]

source§

impl Serialize for ButtonClass

§

type Bytes = Vec<u8>

source§

impl Serialize for ButtonInfo

§

type Bytes = [u8; 4]

source§

impl Serialize for x11rb_protocol::protocol::xinput::ButtonPressEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for ButtonState

§

type Bytes = [u8; 36]

source§

impl Serialize for ChangeDeviceControlReply

§

type Bytes = [u8; 32]

source§

impl Serialize for ChangeDeviceNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for ChangeKeyboardDeviceReply

§

type Bytes = [u8; 32]

source§

impl Serialize for ChangePointerDeviceReply

§

type Bytes = [u8; 32]

source§

impl Serialize for DetachSlave

§

type Bytes = [u8; 8]

source§

impl Serialize for DeviceAbsAreaCtrl

§

type Bytes = [u8; 28]

source§

impl Serialize for DeviceAbsAreaState

§

type Bytes = [u8; 28]

source§

impl Serialize for DeviceAbsCalibCtl

§

type Bytes = [u8; 36]

source§

impl Serialize for DeviceAbsCalibState

§

type Bytes = [u8; 36]

source§

impl Serialize for DeviceButtonStateNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceChangedEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceClass

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceClassDataButton

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceClassDataGesture

§

type Bytes = [u8; 2]

source§

impl Serialize for DeviceClassDataKey

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceClassDataScroll

§

type Bytes = [u8; 18]

source§

impl Serialize for DeviceClassDataTouch

§

type Bytes = [u8; 2]

source§

impl Serialize for DeviceClassDataValuator

§

type Bytes = [u8; 38]

source§

impl Serialize for DeviceCoreCtrl

§

type Bytes = [u8; 8]

source§

impl Serialize for DeviceCoreState

§

type Bytes = [u8; 8]

source§

impl Serialize for DeviceCtl

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceCtlDataAbsArea

§

type Bytes = [u8; 24]

source§

impl Serialize for DeviceCtlDataAbsCalib

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceCtlDataCore

§

type Bytes = [u8; 4]

source§

impl Serialize for DeviceCtlDataResolution

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceEnableCtrl

§

type Bytes = [u8; 8]

source§

impl Serialize for DeviceEnableState

§

type Bytes = [u8; 8]

source§

impl Serialize for DeviceFocusInEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceInfo

§

type Bytes = [u8; 8]

source§

impl Serialize for DeviceKeyPressEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceKeyStateNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceMappingNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceName

§

type Bytes = Vec<u8>

source§

impl Serialize for DevicePresenceNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DevicePropertyNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceResolutionCtl

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceResolutionState

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceState

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceStateDataAbsArea

§

type Bytes = [u8; 24]

source§

impl Serialize for DeviceStateDataAbsCalib

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceStateDataCore

§

type Bytes = [u8; 4]

source§

impl Serialize for DeviceStateDataResolution

§

type Bytes = Vec<u8>

source§

impl Serialize for DeviceStateNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for DeviceValuatorEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for EnterEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for EventForSend

§

type Bytes = [u8; 32]

source§

impl Serialize for EventMask

§

type Bytes = Vec<u8>

source§

impl Serialize for FeedbackCtl

§

type Bytes = Vec<u8>

source§

impl Serialize for FeedbackCtlDataBell

§

type Bytes = [u8; 8]

source§

impl Serialize for FeedbackCtlDataInteger

§

type Bytes = [u8; 4]

source§

impl Serialize for FeedbackCtlDataKeyboard

§

type Bytes = [u8; 16]

source§

impl Serialize for FeedbackCtlDataLed

§

type Bytes = [u8; 8]

source§

impl Serialize for FeedbackCtlDataPointer

§

type Bytes = [u8; 8]

source§

impl Serialize for FeedbackCtlDataString

§

type Bytes = Vec<u8>

source§

impl Serialize for FeedbackState

§

type Bytes = Vec<u8>

source§

impl Serialize for FeedbackStateDataBell

§

type Bytes = [u8; 8]

source§

impl Serialize for FeedbackStateDataInteger

§

type Bytes = [u8; 12]

source§

impl Serialize for FeedbackStateDataKeyboard

§

type Bytes = [u8; 48]

source§

impl Serialize for FeedbackStateDataLed

§

type Bytes = [u8; 8]

source§

impl Serialize for FeedbackStateDataPointer

§

type Bytes = [u8; 8]

source§

impl Serialize for FeedbackStateDataString

§

type Bytes = Vec<u8>

source§

impl Serialize for Fp3232

§

type Bytes = [u8; 8]

source§

impl Serialize for GestureClass

§

type Bytes = [u8; 8]

source§

impl Serialize for GesturePinchBeginEvent

§

type Bytes = [u8; 100]

source§

impl Serialize for GestureSwipeBeginEvent

§

type Bytes = [u8; 92]

source§

impl Serialize for GetDeviceButtonMappingReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetDeviceControlReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetDeviceDontPropagateListReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetDeviceFocusReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetDeviceKeyMappingReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetDeviceModifierMappingReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetDeviceMotionEventsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetDevicePropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetExtensionVersionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetFeedbackControlReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetSelectedExtensionEventsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GrabDeviceReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GrabModifierInfo

§

type Bytes = [u8; 8]

source§

impl Serialize for GroupInfo

§

type Bytes = [u8; 4]

source§

impl Serialize for HierarchyChange

§

type Bytes = Vec<u8>

source§

impl Serialize for HierarchyChangeDataAddMaster

§

type Bytes = Vec<u8>

source§

impl Serialize for HierarchyChangeDataAttachSlave

§

type Bytes = [u8; 4]

source§

impl Serialize for HierarchyChangeDataDetachSlave

§

type Bytes = [u8; 4]

source§

impl Serialize for HierarchyChangeDataRemoveMaster

§

type Bytes = [u8; 8]

source§

impl Serialize for HierarchyEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for HierarchyInfo

§

type Bytes = [u8; 12]

source§

impl Serialize for InputClassInfo

§

type Bytes = [u8; 2]

source§

impl Serialize for InputInfo

§

type Bytes = Vec<u8>

source§

impl Serialize for InputInfoInfoButton

§

type Bytes = [u8; 2]

source§

impl Serialize for InputInfoInfoKey

§

type Bytes = [u8; 6]

source§

impl Serialize for InputInfoInfoValuator

§

type Bytes = Vec<u8>

source§

impl Serialize for InputState

§

type Bytes = Vec<u8>

source§

impl Serialize for InputStateDataButton

§

type Bytes = [u8; 34]

source§

impl Serialize for InputStateDataKey

§

type Bytes = [u8; 34]

source§

impl Serialize for InputStateDataValuator

§

type Bytes = Vec<u8>

source§

impl Serialize for IntegerFeedbackCtl

§

type Bytes = [u8; 8]

source§

impl Serialize for IntegerFeedbackState

§

type Bytes = [u8; 16]

source§

impl Serialize for KbdFeedbackCtl

§

type Bytes = [u8; 20]

source§

impl Serialize for KbdFeedbackState

§

type Bytes = [u8; 52]

source§

impl Serialize for KeyClass

§

type Bytes = Vec<u8>

source§

impl Serialize for KeyInfo

§

type Bytes = [u8; 8]

source§

impl Serialize for x11rb_protocol::protocol::xinput::KeyPressEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for KeyState

§

type Bytes = [u8; 36]

source§

impl Serialize for LedFeedbackCtl

§

type Bytes = [u8; 12]

source§

impl Serialize for LedFeedbackState

§

type Bytes = [u8; 12]

source§

impl Serialize for ListDevicePropertiesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListInputDevicesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ModifierInfo

§

type Bytes = [u8; 16]

source§

impl Serialize for OpenDeviceReply

§

type Bytes = Vec<u8>

source§

impl Serialize for PropertyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for PtrFeedbackCtl

§

type Bytes = [u8; 12]

source§

impl Serialize for PtrFeedbackState

§

type Bytes = [u8; 12]

source§

impl Serialize for QueryDeviceStateReply

§

type Bytes = Vec<u8>

source§

impl Serialize for RawButtonPressEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for RawKeyPressEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for RawTouchBeginEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for RemoveMaster

§

type Bytes = [u8; 12]

source§

impl Serialize for ScrollClass

§

type Bytes = [u8; 24]

source§

impl Serialize for SetDeviceButtonMappingReply

§

type Bytes = [u8; 32]

source§

impl Serialize for SetDeviceModeReply

§

type Bytes = [u8; 32]

source§

impl Serialize for SetDeviceModifierMappingReply

§

type Bytes = [u8; 32]

source§

impl Serialize for SetDeviceValuatorsReply

§

type Bytes = [u8; 32]

source§

impl Serialize for StringFeedbackCtl

§

type Bytes = Vec<u8>

source§

impl Serialize for StringFeedbackState

§

type Bytes = Vec<u8>

source§

impl Serialize for TouchBeginEvent

§

type Bytes = Vec<u8>

source§

impl Serialize for TouchClass

§

type Bytes = [u8; 8]

source§

impl Serialize for TouchOwnershipEvent

§

type Bytes = [u8; 48]

source§

impl Serialize for ValuatorClass

§

type Bytes = [u8; 44]

source§

impl Serialize for ValuatorInfo

§

type Bytes = Vec<u8>

source§

impl Serialize for ValuatorState

§

type Bytes = Vec<u8>

source§

impl Serialize for XIDeviceInfo

§

type Bytes = Vec<u8>

source§

impl Serialize for XIGetClientPointerReply

§

type Bytes = [u8; 32]

source§

impl Serialize for XIGetFocusReply

§

type Bytes = [u8; 32]

source§

impl Serialize for XIGetPropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for XIGetSelectedEventsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for XIGrabDeviceReply

§

type Bytes = [u8; 32]

source§

impl Serialize for XIListPropertiesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for XIPassiveGrabDeviceReply

§

type Bytes = Vec<u8>

source§

impl Serialize for XIQueryDeviceReply

§

type Bytes = Vec<u8>

source§

impl Serialize for XIQueryPointerReply

§

type Bytes = Vec<u8>

source§

impl Serialize for XIQueryVersionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for AccessXNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for Action

§

type Bytes = [u8; 8]

source§

impl Serialize for ActionMessageEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for Behavior

§

type Bytes = [u8; 2]

source§

impl Serialize for BellNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for CommonBehavior

§

type Bytes = [u8; 2]

source§

impl Serialize for CompatMapNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for ControlsNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for CountedString16

§

type Bytes = Vec<u8>

source§

impl Serialize for DefaultBehavior

§

type Bytes = [u8; 2]

source§

impl Serialize for DeviceLedInfo

§

type Bytes = Vec<u8>

source§

impl Serialize for ExtensionDeviceNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for GetCompatMapReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetControlsReply

§

type Bytes = [u8; 92]

source§

impl Serialize for GetDeviceInfoReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetIndicatorMapReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetIndicatorStateReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetKbdByNameRepliesCompatMap

§

type Bytes = Vec<u8>

source§

impl Serialize for GetKbdByNameRepliesGeometry

§

type Bytes = Vec<u8>

source§

impl Serialize for GetKbdByNameRepliesIndicatorMaps

§

type Bytes = Vec<u8>

source§

impl Serialize for GetKbdByNameRepliesKeyNames

§

type Bytes = Vec<u8>

source§

impl Serialize for GetKbdByNameRepliesTypes

§

type Bytes = Vec<u8>

source§

impl Serialize for GetKbdByNameReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetMapReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetNamedIndicatorReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetNamesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetStateReply

§

type Bytes = [u8; 32]

source§

impl Serialize for IndicatorMap

§

type Bytes = [u8; 12]

source§

impl Serialize for IndicatorMapNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for IndicatorStateNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for KTMapEntry

§

type Bytes = [u8; 8]

source§

impl Serialize for KTSetMapEntry

§

type Bytes = [u8; 4]

source§

impl Serialize for Key

§

type Bytes = [u8; 8]

source§

impl Serialize for KeyAlias

§

type Bytes = [u8; 8]

source§

impl Serialize for KeyModMap

§

type Bytes = [u8; 2]

source§

impl Serialize for KeyName

§

type Bytes = [u8; 4]

source§

impl Serialize for KeySymMap

§

type Bytes = Vec<u8>

source§

impl Serialize for KeyType

§

type Bytes = Vec<u8>

source§

impl Serialize for KeyVModMap

§

type Bytes = [u8; 4]

source§

impl Serialize for ListComponentsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for Listing

§

type Bytes = Vec<u8>

source§

impl Serialize for x11rb_protocol::protocol::xkb::MapNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for ModDef

§

type Bytes = [u8; 4]

source§

impl Serialize for NamesNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for NewKeyboardNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for Outline

§

type Bytes = Vec<u8>

source§

impl Serialize for Overlay

§

type Bytes = Vec<u8>

source§

impl Serialize for OverlayBehavior

§

type Bytes = [u8; 2]

source§

impl Serialize for OverlayKey

§

type Bytes = [u8; 8]

source§

impl Serialize for OverlayRow

§

type Bytes = Vec<u8>

source§

impl Serialize for PerClientFlagsReply

§

type Bytes = [u8; 32]

source§

impl Serialize for RadioGroupBehavior

§

type Bytes = [u8; 2]

source§

impl Serialize for Row

§

type Bytes = Vec<u8>

source§

impl Serialize for SAActionMessage

§

type Bytes = [u8; 8]

source§

impl Serialize for SADeviceBtn

§

type Bytes = [u8; 8]

source§

impl Serialize for SADeviceValuator

§

type Bytes = [u8; 8]

source§

impl Serialize for SAIsoLock

§

type Bytes = [u8; 8]

source§

impl Serialize for SALockDeviceBtn

§

type Bytes = [u8; 8]

source§

impl Serialize for SALockPtrBtn

§

type Bytes = [u8; 8]

source§

impl Serialize for SAMovePtr

§

type Bytes = [u8; 8]

source§

impl Serialize for SANoAction

§

type Bytes = [u8; 8]

source§

impl Serialize for SAPtrBtn

§

type Bytes = [u8; 8]

source§

impl Serialize for SARedirectKey

§

type Bytes = [u8; 8]

source§

impl Serialize for SASetControls

§

type Bytes = [u8; 8]

source§

impl Serialize for SASetGroup

§

type Bytes = [u8; 8]

source§

impl Serialize for SASetMods

§

type Bytes = [u8; 8]

source§

impl Serialize for SASetPtrDflt

§

type Bytes = [u8; 8]

source§

impl Serialize for SASwitchScreen

§

type Bytes = [u8; 8]

source§

impl Serialize for SATerminate

§

type Bytes = [u8; 8]

source§

impl Serialize for SIAction

§

type Bytes = [u8; 8]

source§

impl Serialize for SelectEventsAuxAccessXNotify

§

type Bytes = [u8; 4]

source§

impl Serialize for SelectEventsAuxActionMessage

§

type Bytes = [u8; 2]

source§

impl Serialize for SelectEventsAuxBellNotify

§

type Bytes = [u8; 2]

source§

impl Serialize for SelectEventsAuxCompatMapNotify

§

type Bytes = [u8; 2]

source§

impl Serialize for SelectEventsAuxControlsNotify

§

type Bytes = [u8; 8]

source§

impl Serialize for SelectEventsAuxExtensionDeviceNotify

§

type Bytes = [u8; 4]

source§

impl Serialize for SelectEventsAuxIndicatorMapNotify

§

type Bytes = [u8; 8]

source§

impl Serialize for SelectEventsAuxIndicatorStateNotify

§

type Bytes = [u8; 8]

source§

impl Serialize for SelectEventsAuxNamesNotify

§

type Bytes = [u8; 4]

source§

impl Serialize for SelectEventsAuxNewKeyboardNotify

§

type Bytes = [u8; 4]

source§

impl Serialize for SelectEventsAuxStateNotify

§

type Bytes = [u8; 4]

source§

impl Serialize for SetBehavior

§

type Bytes = [u8; 4]

source§

impl Serialize for SetDebuggingFlagsReply

§

type Bytes = [u8; 32]

source§

impl Serialize for SetExplicit

§

type Bytes = [u8; 2]

source§

impl Serialize for SetKeyType

§

type Bytes = Vec<u8>

source§

impl Serialize for Shape

§

type Bytes = Vec<u8>

source§

impl Serialize for StateNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for SymInterpret

§

type Bytes = [u8; 16]

source§

impl Serialize for UseExtensionReply

§

type Bytes = [u8; 32]

source§

impl Serialize for AllocColorCellsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for AllocColorPlanesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for AllocColorReply

§

type Bytes = [u8; 20]

source§

impl Serialize for AllocNamedColorReply

§

type Bytes = [u8; 24]

source§

impl Serialize for Arc

§

type Bytes = [u8; 12]

source§

impl Serialize for x11rb_protocol::protocol::xproto::ButtonPressEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for Char2b

§

type Bytes = [u8; 2]

source§

impl Serialize for Charinfo

§

type Bytes = [u8; 12]

source§

impl Serialize for CirculateNotifyEvent

§

type Bytes = [u8; 20]

source§

impl Serialize for ClientMessageData

§

type Bytes = [u8; 20]

source§

impl Serialize for ClientMessageEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for Coloritem

§

type Bytes = [u8; 12]

source§

impl Serialize for ColormapNotifyEvent

§

type Bytes = [u8; 16]

source§

impl Serialize for ConfigureNotifyEvent

§

type Bytes = [u8; 28]

source§

impl Serialize for ConfigureRequestEvent

§

type Bytes = [u8; 28]

source§

impl Serialize for CreateNotifyEvent

§

type Bytes = [u8; 24]

source§

impl Serialize for Depth

§

type Bytes = Vec<u8>

source§

impl Serialize for DestroyNotifyEvent

§

type Bytes = [u8; 12]

source§

impl Serialize for EnterNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for ExposeEvent

§

type Bytes = [u8; 20]

source§

impl Serialize for FocusInEvent

§

type Bytes = [u8; 12]

source§

impl Serialize for Fontprop

§

type Bytes = [u8; 8]

source§

impl Serialize for Format

§

type Bytes = [u8; 8]

source§

impl Serialize for GeGenericEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for GetAtomNameReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetFontPathReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetGeometryReply

§

type Bytes = [u8; 24]

source§

impl Serialize for GetImageReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetInputFocusReply

§

type Bytes = [u8; 12]

source§

impl Serialize for GetKeyboardControlReply

§

type Bytes = [u8; 52]

source§

impl Serialize for GetKeyboardMappingReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetModifierMappingReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetMotionEventsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetPointerControlReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetPointerMappingReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetPropertyReply

§

type Bytes = Vec<u8>

source§

impl Serialize for GetScreenSaverReply

§

type Bytes = [u8; 32]

source§

impl Serialize for GetSelectionOwnerReply

§

type Bytes = [u8; 12]

source§

impl Serialize for GetWindowAttributesReply

§

type Bytes = [u8; 44]

source§

impl Serialize for GrabKeyboardReply

§

type Bytes = [u8; 8]

source§

impl Serialize for GrabPointerReply

§

type Bytes = [u8; 8]

source§

impl Serialize for GraphicsExposureEvent

§

type Bytes = [u8; 24]

source§

impl Serialize for GravityNotifyEvent

§

type Bytes = [u8; 16]

source§

impl Serialize for Host

§

type Bytes = Vec<u8>

source§

impl Serialize for InternAtomReply

§

type Bytes = [u8; 12]

source§

impl Serialize for x11rb_protocol::protocol::xproto::KeyPressEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for KeymapNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for ListExtensionsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListFontsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListFontsWithInfoReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListHostsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListInstalledColormapsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for ListPropertiesReply

§

type Bytes = Vec<u8>

source§

impl Serialize for LookupColorReply

§

type Bytes = [u8; 20]

source§

impl Serialize for x11rb_protocol::protocol::xproto::MapNotifyEvent

§

type Bytes = [u8; 16]

source§

impl Serialize for MapRequestEvent

§

type Bytes = [u8; 12]

source§

impl Serialize for MappingNotifyEvent

§

type Bytes = [u8; 8]

source§

impl Serialize for MotionNotifyEvent

§

type Bytes = [u8; 32]

source§

impl Serialize for NoExposureEvent

§

type Bytes = [u8; 12]

source§

impl Serialize for Point

§

type Bytes = [u8; 4]

source§

impl Serialize for PropertyNotifyEvent

§

type Bytes = [u8; 20]

source§

impl Serialize for QueryBestSizeReply

§

type Bytes = [u8; 12]

source§

impl Serialize for QueryColorsReply

§

type Bytes = Vec<u8>

source§

impl Serialize for QueryExtensionReply

§

type Bytes = [u8; 12]

source§

impl Serialize for QueryFontReply

§

type Bytes = Vec<u8>

source§

impl Serialize for QueryKeymapReply

§

type Bytes = [u8; 40]

source§

impl Serialize for QueryPointerReply

§

type Bytes = [u8; 28]

source§

impl Serialize for QueryTextExtentsReply

§

type Bytes = [u8; 28]

source§

impl Serialize for QueryTreeReply

§

type Bytes = Vec<u8>

source§

impl Serialize for Rectangle

§

type Bytes = [u8; 8]

source§

impl Serialize for ReparentNotifyEvent

§

type Bytes = [u8; 24]

source§

impl Serialize for ResizeRequestEvent

§

type Bytes = [u8; 12]

source§

impl Serialize for Rgb

§

type Bytes = [u8; 8]

source§

impl Serialize for Screen

§

type Bytes = Vec<u8>

source§

impl Serialize for Segment

§

type Bytes = [u8; 8]

source§

impl Serialize for SelectionClearEvent

§

type Bytes = [u8; 16]

source§

impl Serialize for x11rb_protocol::protocol::xproto::SelectionNotifyEvent

§

type Bytes = [u8; 24]

source§

impl Serialize for SelectionRequestEvent

§

type Bytes = [u8; 28]

source§

impl Serialize for SetModifierMappingReply

§

type Bytes = [u8; 8]

source§

impl Serialize for SetPointerMappingReply

§

type Bytes = [u8; 8]

source§

impl Serialize for Setup

§

type Bytes = Vec<u8>

source§

impl Serialize for SetupAuthenticate

§

type Bytes = Vec<u8>

source§

impl Serialize for SetupFailed

§

type Bytes = Vec<u8>

source§

impl Serialize for SetupRequest

§

type Bytes = Vec<u8>

source§

impl Serialize for Str

§

type Bytes = Vec<u8>

source§

impl Serialize for Timecoord

§

type Bytes = [u8; 8]

source§

impl Serialize for TranslateCoordinatesReply

§

type Bytes = [u8; 16]

source§

impl Serialize for UnmapNotifyEvent

§

type Bytes = [u8; 16]

source§

impl Serialize for VisibilityNotifyEvent

§

type Bytes = [u8; 12]

source§

impl Serialize for Visualtype

§

type Bytes = [u8; 24]