mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Some further removals
This commit is contained in:
parent
3efc5e59bc
commit
bb6052ca8e
3 changed files with 0 additions and 20 deletions
|
@ -51,7 +51,6 @@ use num_traits::cast::FromPrimitive;
|
|||
use serde::ser::{Serialize, SerializeStruct, Serializer};
|
||||
use servo_geometry::{au_rect_to_f32_rect, f32_rect_to_au_rect, MaxRect};
|
||||
use std::fmt;
|
||||
use std::iter::Zip;
|
||||
use std::slice::IterMut;
|
||||
use std::sync::atomic::Ordering;
|
||||
use std::sync::Arc;
|
||||
|
@ -128,11 +127,6 @@ pub trait Flow: HasBaseFlow + fmt::Debug + Sync + Send + 'static {
|
|||
panic!("called as_flex() on a non-flex flow")
|
||||
}
|
||||
|
||||
/// If this is a flex flow, returns the underlying object, borrowed mutably. Fails otherwise.
|
||||
fn as_mut_flex(&mut self) -> &mut FlexFlow {
|
||||
panic!("called as_mut_flex() on a non-flex flow")
|
||||
}
|
||||
|
||||
/// If this is an inline flow, returns the underlying object. Fails otherwise.
|
||||
fn as_inline(&self) -> &InlineFlow {
|
||||
panic!("called as_inline() on a non-inline flow")
|
||||
|
@ -786,8 +780,6 @@ impl<'a> Iterator for AbsoluteDescendantIter<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub type AbsoluteDescendantOffsetIter<'a> = Zip<AbsoluteDescendantIter<'a>, IterMut<'a, Au>>;
|
||||
|
||||
/// Information needed to compute absolute (i.e. viewport-relative) flow positions (not to be
|
||||
/// confused with absolutely-positioned flows) that is computed during block-size assignment.
|
||||
#[derive(Clone, Copy)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue