mirror of
https://github.com/servo/servo.git
synced 2025-06-28 02:53:48 +01:00
constellation: Re-split structured data types into separate files (#36615)
In #36364 I moved both serializable and transferable implementations from the `script_traits` crate into a single file called `message_ports.rs`. Gregory raised the point that this was a bit of a inaccurate grouping. This change attempts to fix it according to the division in the specification. See [the relevant thread on zulip][thread]. [thread]: https://servo.zulipchat.com/#narrow/channel/263398-general/topic/Organizing.20*_traits.20crates/near/510864104. Testing: Covered by existing test as this is just code movement. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
990ed8891f
commit
fee2ea34af
6 changed files with 609 additions and 575 deletions
|
@ -33,10 +33,8 @@ use strum_macros::IntoStaticStr;
|
|||
use webgpu_traits::{WebGPU, WebGPUAdapterResponse};
|
||||
use webrender_api::ImageKey;
|
||||
|
||||
use crate::message_port::{
|
||||
BroadcastMsg, MessagePortMsg, PortMessageTask, StructuredSerializedData,
|
||||
};
|
||||
use crate::{LogEntry, TraversalDirection, WindowSizeType};
|
||||
use crate::structured_data::{BroadcastMsg, StructuredSerializedData};
|
||||
use crate::{LogEntry, MessagePortMsg, PortMessageTask, TraversalDirection, WindowSizeType};
|
||||
|
||||
/// A Script to Constellation channel.
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue