refactor: remove unneeded pub(crate)s (#890)

This commit is contained in:
Alex Yusiuk
2025-07-27 22:49:26 -04:00
committed by GitHub
parent aafd45229b
commit f30bb99746
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ pub const FORMAT_NAME_FILE_LIST: &str = "FileGroupDescriptorW";
/// Header without message type included
struct PartialHeader {
pub(crate) message_flags: ClipboardPduFlags,
pub(crate) data_length: u32,
message_flags: ClipboardPduFlags,
data_length: u32,
}
impl PartialHeader {
+2 -2
View File
@@ -656,8 +656,8 @@ pub(crate) enum ClipboardItemValue {
/// Object which represents single clipboard format represented standard MIME type.
#[derive(Debug, Clone)]
pub(crate) struct ClipboardItem {
pub(crate) mime_type: String,
pub(crate) value: ClipboardItemValue,
mime_type: String,
value: ClipboardItemValue,
}
impl ClipboardItem {
+2 -2
View File
@@ -2,7 +2,7 @@ use ironrdp::input::{MouseButton, MousePosition, Operation, Scancode, WheelRotat
use smallvec::SmallVec;
#[derive(Clone)]
pub(crate) struct DeviceEvent(pub(crate) Operation);
pub(crate) struct DeviceEvent(Operation);
impl iron_remote_desktop::DeviceEvent for DeviceEvent {
fn mouse_button_pressed(button: u8) -> Self {
@@ -53,7 +53,7 @@ impl iron_remote_desktop::DeviceEvent for DeviceEvent {
}
}
pub(crate) struct InputTransaction(pub(crate) SmallVec<[Operation; 3]>);
pub(crate) struct InputTransaction(SmallVec<[Operation; 3]>);
impl iron_remote_desktop::InputTransaction for InputTransaction {
type DeviceEvent = DeviceEvent;