mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Associate documentation comments for LogicalPoint's fields with the correct field.
This commit is contained in:
parent
d20ef3b6d8
commit
cfc80582c8
1 changed files with 4 additions and 2 deletions
|
@ -319,8 +319,10 @@ impl<T: Sub<T, Output=T>> Sub for LogicalSize<T> {
|
||||||
/// A 2D point in flow-relative dimensions
|
/// A 2D point in flow-relative dimensions
|
||||||
#[derive(PartialEq, RustcEncodable, Eq, Clone, Copy)]
|
#[derive(PartialEq, RustcEncodable, Eq, Clone, Copy)]
|
||||||
pub struct LogicalPoint<T> {
|
pub struct LogicalPoint<T> {
|
||||||
pub i: T, /// inline-axis coordinate
|
/// inline-axis coordinate
|
||||||
pub b: T, /// block-axis coordinate
|
pub i: T,
|
||||||
|
/// block-axis coordinate
|
||||||
|
pub b: T,
|
||||||
debug_writing_mode: DebugWritingMode,
|
debug_writing_mode: DebugWritingMode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue