mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
refactor: remove unneeded pub(crate)s (#890)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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,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;
|
||||
|
||||
Reference in New Issue
Block a user