pub type HyphenateLimitChars = GenericHyphenateLimitChars<Integer>;
Expand description
A value for the hyphenate-limit-chars
property.
Aliased Type§
#[repr(C)]pub struct HyphenateLimitChars {
pub total_word_length: NumberOrAuto<Integer>,
pub pre_hyphen_length: NumberOrAuto<Integer>,
pub post_hyphen_length: NumberOrAuto<Integer>,
}
Fields§
§total_word_length: NumberOrAuto<Integer>
Required minimum number of characters in a hyphenated word.
pre_hyphen_length: NumberOrAuto<Integer>
Required minumum number of characters before the hyphen.
post_hyphen_length: NumberOrAuto<Integer>
Required minumum number of characters after the hyphen.
Trait Implementations§
Source§impl Parse for HyphenateLimitChars
impl Parse for HyphenateLimitChars
Source§fn parse<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>>
fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more