pub struct Integer {
pub value: i32,
}Expand description
CSS <integer> 值 (§4.3)。
Fields§
§value: i32Implementations§
Source§impl Integer
impl Integer
pub fn parse(input: &str) -> Result<Self, ParseError>
pub fn from_cvs(cvs: &[ComponentValue]) -> Result<Self, ParseError>
Trait Implementations§
impl Eq for Integer
impl StructuralPartialEq for Integer
Auto Trait Implementations§
impl Forget for Integer
impl Freeze for Integer
impl RefUnwindSafe for Integer
impl Send for Integer
impl Sync for Integer
impl Unpin for Integer
impl UnsafeUnpin for Integer
impl UnwindSafe for Integer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more