Trait layout_2020::geom::ToLogical

source ·
pub(crate) trait ToLogical<Unit, LogicalType> {
    // Required method
    fn to_logical(&self, writing_mode: WritingMode) -> LogicalType;
}

Required Methods§

source

fn to_logical(&self, writing_mode: WritingMode) -> LogicalType

Implementors§

source§

impl<Unit: Copy> ToLogical<Unit, LogicalSides<Unit>> for PhysicalSides<Unit>

source§

impl<Unit: Copy> ToLogical<Unit, LogicalVec2<Unit>> for PhysicalSize<Unit>