mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Support WebIDL record<>
This commit is contained in:
parent
9785613310
commit
b697621b05
12 changed files with 316 additions and 249 deletions
|
@ -74,7 +74,7 @@ impl ops::Deref for ByteString {
|
|||
|
||||
/// A string that is constructed from a UCS-2 buffer by replacing invalid code
|
||||
/// points with the replacement character.
|
||||
#[derive(Clone, Default, Eq, MallocSizeOf, Ord, PartialEq, PartialOrd)]
|
||||
#[derive(Clone, Default, Eq, Hash, MallocSizeOf, Ord, PartialEq, PartialOrd)]
|
||||
pub struct USVString(pub String);
|
||||
|
||||
impl Borrow<str> for USVString {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue