Make a few more things private in constellation.rs.

This commit is contained in:
Ms2ger 2016-05-20 11:56:40 +02:00
parent bcea0ada27
commit 2bee0de9f3

View file

@ -168,7 +168,7 @@ pub struct Constellation<LTF, STF> {
phantom: PhantomData<(LTF, STF)>, phantom: PhantomData<(LTF, STF)>,
pub window_size: WindowSizeData, window_size: WindowSizeData,
/// Means of accessing the clipboard /// Means of accessing the clipboard
clipboard_ctx: Option<ClipboardContext>, clipboard_ctx: Option<ClipboardContext>,
@ -221,7 +221,7 @@ pub struct InitialConstellationState {
} }
/// Stores the navigation context for a single frame in the frame tree. /// Stores the navigation context for a single frame in the frame tree.
pub struct Frame { struct Frame {
prev: Vec<PipelineId>, prev: Vec<PipelineId>,
current: PipelineId, current: PipelineId,
next: Vec<PipelineId>, next: Vec<PipelineId>,
@ -296,7 +296,7 @@ struct WebDriverData {
} }
impl WebDriverData { impl WebDriverData {
pub fn new() -> WebDriverData { fn new() -> WebDriverData {
WebDriverData { WebDriverData {
load_channel: None load_channel: None
} }