You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x if x == TypeId::of::<()>() => Ok(TaggedValue::None),
90
91
$( x if x == TypeId::of::<$ty>() => Ok(TaggedValue::$identifier(*downcast(input).unwrap())),)*
91
92
x if x == TypeId::of::<RenderOutput>() => Ok(TaggedValue::RenderOutput(*downcast(input).unwrap())),
92
-
x if x == TypeId::of::<graphene_core::SurfaceFrame>() => Ok(TaggedValue::SurfaceFrame(*downcast(input).unwrap())),
93
+
x if x == TypeId::of::<SurfaceFrame>() => Ok(TaggedValue::SurfaceFrame(*downcast(input).unwrap())),
93
94
94
95
95
96
_ => Err(format!("Cannot convert {:?} to TaggedValue",DynAny::type_name(input.as_ref()))),
@@ -103,7 +104,7 @@ macro_rules! tagged_value {
103
104
x if x == TypeId::of::<()>() => Ok(TaggedValue::None),
104
105
$( x if x == TypeId::of::<$ty>() => Ok(TaggedValue::$identifier(<$ty asClone>::clone(input.downcast_ref().unwrap()))),)*
105
106
x if x == TypeId::of::<RenderOutput>() => Ok(TaggedValue::RenderOutput(RenderOutput::clone(input.downcast_ref().unwrap()))),
106
-
x if x == TypeId::of::<graphene_core::SurfaceFrame>() => Ok(TaggedValue::SurfaceFrame(graphene_core::SurfaceFrame::clone(input.downcast_ref().unwrap()))),
107
+
x if x == TypeId::of::<SurfaceFrame>() => Ok(TaggedValue::SurfaceFrame(SurfaceFrame::clone(input.downcast_ref().unwrap()))),
107
108
_ => Err(format!("Cannot convert {:?} to TaggedValue",std::any::type_name_of_val(input))),
0 commit comments