Type Definition style::values::computed::IntegerOrAuto
[−]
[src]
type IntegerOrAuto = Either<CSSInteger, Auto>;
Methods
impl IntegerOrAuto
[src]
pub fn integer_or(&self, auto_value: CSSInteger) -> CSSInteger
[src]
Returns the integer value if it is an integer, otherwise return the given value.