pub(crate) unsafe fn from_node(node: &'a NativeWord, justify: bool) -> LayoutRequest<'a> {
        use crate::xetex_ini::FONT_LETTER_SPACE;

        let text = node.text();
        let line_width = node.width();
        let f = node.font() as usize;
        let letter_space_unit = FONT_LETTER_SPACE[f];
        LayoutRequest {
            text,
            line_width,
            letter_space_unit,
            justify,
        }
    }
/// Unsafety: obviously, dereferences raw node pointer. The lifetime is also pulled out of
/// thin air, so just keep it in scope, ok?
obviously, dereferences raw node pointer.
obviously dereferences raw node pointer .
pub(crate) unsafe fn from_node(node: &'a NativeWord, justify: bool) -> LayoutRequest<'a> {
        use crate::xetex_ini::FONT_LETTER_SPACE;
        let text = node.text();
        let line_width = node.width();
        let f = node.font() as usize;
        let letter_space_unit = FONT_LETTER_SPACE[f];
        LayoutRequest {
            text,
            line_width,
            letter_space_unit,
            justify,
        }
    }
pub ( crate ) unsafe fn from_node ( node : & ' a NativeWord , justify : bool ) -> LayoutRequest < ' a > { use crate :: xetex_ini :: FONT_LETTER_SPACE ; let text = node . text ( ) ; let line_width = node . width ( ) ; let f = node . font ( ) as usize ; let letter_space_unit = FONT_LETTER_SPACE [ f ] ; LayoutRequest { text , line_width , letter_space_unit , justify , } }
Unsafety: obviously, dereferences raw node pointer.
Unsafety : obviously dereferences raw node pointer .
node
&'a NativeWord
justify
bool