Struct parcel_css::values::rect::Rect [−][src]
pub struct Rect<T>(pub T, pub T, pub T, pub T);
Tuple Fields
0: T
1: T
2: T
3: T
Implementations
pub fn parse_with<'i, 't, Parse>(
input: &mut Parser<'i, 't>,
parse: Parse
) -> Result<Self, ParseError<'i, ParserError<'i>>> where
Parse: Fn(&mut Parser<'i, 't>) -> Result<T, ParseError<'i, ParserError<'i>>>,
pub fn parse_with<'i, 't, Parse>(
input: &mut Parser<'i, 't>,
parse: Parse
) -> Result<Self, ParseError<'i, ParserError<'i>>> where
Parse: Fn(&mut Parser<'i, 't>) -> Result<T, ParseError<'i, ParserError<'i>>>,
Parses a new Rect<T>
value with the given parse function.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Rect<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Rect<T> where
T: UnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more