mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Added panic message to failures.
This commit is contained in:
parent
dfb482a2b7
commit
8c0fa01884
9 changed files with 88 additions and 37 deletions
|
@ -34,6 +34,12 @@ pub enum PaintMsg {
|
|||
Failure(Failure),
|
||||
}
|
||||
|
||||
impl From<Failure> for PaintMsg {
|
||||
fn from(failure: Failure) -> PaintMsg {
|
||||
PaintMsg::Failure(failure)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum LayerKind {
|
||||
NoTransform,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue