1
0
Fork 0
forked from wry/wry

all: set rust edition to 2024

This commit is contained in:
Julian Orth 2025-02-21 10:44:29 +01:00
parent 02a18f620b
commit 3338909170
515 changed files with 1225 additions and 1187 deletions

View file

@ -7,7 +7,7 @@ use {
},
leaks::Tracker,
object::{Object, Version},
wire::{ext_image_copy_capture_cursor_session_v1::*, ExtImageCopyCaptureCursorSessionV1Id},
wire::{ExtImageCopyCaptureCursorSessionV1Id, ext_image_copy_capture_cursor_session_v1::*},
},
std::{cell::Cell, rc::Rc},
thiserror::Error,

View file

@ -3,7 +3,7 @@ use {
client::{Client, ClientError},
gfx_api::{
AcquireSync, AsyncShmGfxTextureCallback, BufferResv, GfxError, GfxFramebuffer,
GfxTexture, ReleaseSync, SyncFile, STAGING_DOWNLOAD,
GfxTexture, ReleaseSync, STAGING_DOWNLOAD, SyncFile,
},
ifs::{
ext_image_capture_source_v1::ImageCaptureSource,
@ -15,7 +15,7 @@ use {
rect::Region,
tree::{Node, OutputNode},
utils::{cell_ext::CellExt, errorfmt::ErrorFmt, transform_ext::TransformExt},
wire::{ext_image_copy_capture_frame_v1::*, ExtImageCopyCaptureFrameV1Id},
wire::{ExtImageCopyCaptureFrameV1Id, ext_image_copy_capture_frame_v1::*},
},
std::rc::Rc,
thiserror::Error,

View file

@ -1,6 +1,6 @@
use {
crate::{
client::{Client, ClientCaps, ClientError, CAP_SCREENCOPY_MANAGER},
client::{CAP_SCREENCOPY_MANAGER, Client, ClientCaps, ClientError},
globals::{Global, GlobalName},
ifs::{
ext_image_capture_source_v1::ImageCaptureSource,
@ -11,7 +11,7 @@ use {
},
leaks::Tracker,
object::{Object, Version},
wire::{ext_image_copy_capture_manager_v1::*, ExtImageCopyCaptureManagerV1Id},
wire::{ExtImageCopyCaptureManagerV1Id, ext_image_copy_capture_manager_v1::*},
},
std::rc::Rc,
thiserror::Error,

View file

@ -1,7 +1,7 @@
use {
crate::{
client::{Client, ClientError},
format::{Format, FORMATS},
format::{FORMATS, Format},
gfx_api::{
AcquireSync, BufferResv, GfxInternalFramebuffer, GfxStagingBuffer, GfxTexture,
PendingShmTransfer, ReleaseSync,
@ -19,7 +19,7 @@ use {
tree::{LatchListener, OutputNode, PresentationListener},
utils::{cell_ext::CellExt, clonecell::CloneCell, event_listener::EventListener},
video::Modifier,
wire::{ext_image_copy_capture_session_v1::*, ExtImageCopyCaptureSessionV1Id},
wire::{ExtImageCopyCaptureSessionV1Id, ext_image_copy_capture_session_v1::*},
},
std::{
cell::Cell,