Home
last modified time | relevance | path

Searched defs:DeviceDestroyedError (Results 1 – 2 of 2) sorted by relevance

/external/rust/android-crates-io/crates/gbm/src/
Dbuffer_object.rs184 pub fn width(&self) -> Result<u32, DeviceDestroyedError> { in width() argument
190 pub fn height(&self) -> Result<u32, DeviceDestroyedError> { in height() argument
196 pub fn stride(&self) -> Result<u32, DeviceDestroyedError> { in stride() argument
202 pub fn stride_for_plane(&self, plane: i32) -> Result<u32, DeviceDestroyedError> { in stride_for_plane() argument
208 pub fn format(&self) -> Result<Format, DeviceDestroyedError> { in format() argument
217 pub fn bpp(&self) -> Result<u32, DeviceDestroyedError> { in bpp() argument
223 pub fn offset(&self, plane: i32) -> Result<u32, DeviceDestroyedError> { in offset() argument
229 pub fn plane_count(&self) -> Result<u32, DeviceDestroyedError> { in plane_count() argument
235 pub fn modifier(&self) -> Result<Modifier, DeviceDestroyedError> { in modifier() argument
262 pub fn device_fd(&self) -> Result<BorrowedFd, DeviceDestroyedError> { in device_fd() argument
[all …]
Ddevice.rs409 pub struct DeviceDestroyedError; struct
411 impl fmt::Display for DeviceDestroyedError { implementation
417 impl error::Error for DeviceDestroyedError { implementation