ConcreteObject

Trait ConcreteObject 

Source
pub trait ConcreteObject: Object {
    const XML_VERSION: u32;
    const INTERFACE: ObjectInterface;
    const INTERFACE_NAME: &str;
}
Expand description

A concrete (not dyn) object.

Required Associated Constants§

Source

const XML_VERSION: u32

The interface version from the XML file that the interface was generated from.

Source

const INTERFACE: ObjectInterface

The interface of the object.

Source

const INTERFACE_NAME: &str

The interface of the object as a string.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ConcreteObject for WlBuffer

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlBuffer

Source§

const INTERFACE_NAME: &str = "wl_buffer"

Source§

impl ConcreteObject for WlCallback

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlCallback

Source§

const INTERFACE_NAME: &str = "wl_callback"

Source§

impl ConcreteObject for WlCompositor

Source§

const XML_VERSION: u32 = 6u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlCompositor

Source§

const INTERFACE_NAME: &str = "wl_compositor"

Source§

impl ConcreteObject for WlDataDevice

Source§

const XML_VERSION: u32 = 3u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlDataDevice

Source§

const INTERFACE_NAME: &str = "wl_data_device"

Source§

impl ConcreteObject for WlDataDeviceManager

Source§

const XML_VERSION: u32 = 3u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlDataDeviceManager

Source§

const INTERFACE_NAME: &str = "wl_data_device_manager"

Source§

impl ConcreteObject for WlDataOffer

Source§

const XML_VERSION: u32 = 3u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlDataOffer

Source§

const INTERFACE_NAME: &str = "wl_data_offer"

Source§

impl ConcreteObject for WlDataSource

Source§

const XML_VERSION: u32 = 3u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlDataSource

Source§

const INTERFACE_NAME: &str = "wl_data_source"

Source§

impl ConcreteObject for WlDisplay

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlDisplay

Source§

const INTERFACE_NAME: &str = "wl_display"

Source§

impl ConcreteObject for WlFixes

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlFixes

Source§

const INTERFACE_NAME: &str = "wl_fixes"

Source§

impl ConcreteObject for WlKeyboard

Source§

const XML_VERSION: u32 = 10u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlKeyboard

Source§

const INTERFACE_NAME: &str = "wl_keyboard"

Source§

impl ConcreteObject for WlOutput

Source§

const XML_VERSION: u32 = 4u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlOutput

Source§

const INTERFACE_NAME: &str = "wl_output"

Source§

impl ConcreteObject for WlPointer

Source§

const XML_VERSION: u32 = 10u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlPointer

Source§

const INTERFACE_NAME: &str = "wl_pointer"

Source§

impl ConcreteObject for WlRegion

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlRegion

Source§

const INTERFACE_NAME: &str = "wl_region"

Source§

impl ConcreteObject for WlRegistry

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlRegistry

Source§

const INTERFACE_NAME: &str = "wl_registry"

Source§

impl ConcreteObject for WlSeat

Source§

const XML_VERSION: u32 = 10u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlSeat

Source§

const INTERFACE_NAME: &str = "wl_seat"

Source§

impl ConcreteObject for WlShell

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlShell

Source§

const INTERFACE_NAME: &str = "wl_shell"

Source§

impl ConcreteObject for WlShellSurface

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlShellSurface

Source§

const INTERFACE_NAME: &str = "wl_shell_surface"

Source§

impl ConcreteObject for WlShm

Source§

const XML_VERSION: u32 = 2u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlShm

Source§

const INTERFACE_NAME: &str = "wl_shm"

Source§

impl ConcreteObject for WlShmPool

Source§

const XML_VERSION: u32 = 2u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlShmPool

Source§

const INTERFACE_NAME: &str = "wl_shm_pool"

Source§

impl ConcreteObject for WlSubcompositor

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlSubcompositor

Source§

const INTERFACE_NAME: &str = "wl_subcompositor"

Source§

impl ConcreteObject for WlSubsurface

Source§

const XML_VERSION: u32 = 1u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlSubsurface

Source§

const INTERFACE_NAME: &str = "wl_subsurface"

Source§

impl ConcreteObject for WlSurface

Source§

const XML_VERSION: u32 = 6u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlSurface

Source§

const INTERFACE_NAME: &str = "wl_surface"

Source§

impl ConcreteObject for WlTouch

Source§

const XML_VERSION: u32 = 10u32

Source§

const INTERFACE: ObjectInterface = ObjectInterface::WlTouch

Source§

const INTERFACE_NAME: &str = "wl_touch"