Rename `Collec` to `CollectWrapper`

This commit is contained in:
David Wendt 2020-06-24 22:34:04 -04:00
parent 5b36522258
commit 2723c3f6d9
1 changed files with 5 additions and 5 deletions

View File

@ -600,7 +600,7 @@ pub struct LayoutBox<'gc> {
#[derive(Clone, Debug, Collect)] #[derive(Clone, Debug, Collect)]
#[collect(require_static)] #[collect(require_static)]
pub struct Collec<T>(T); pub struct CollectWrapper<T>(T);
/// Represents different content modes of a given `LayoutBox`. /// Represents different content modes of a given `LayoutBox`.
/// ///
@ -630,7 +630,7 @@ pub enum LayoutContent<'gc> {
params: EvalParameters, params: EvalParameters,
/// The color to render the font with. /// The color to render the font with.
color: Collec<swf::Color>, color: CollectWrapper<swf::Color>,
}, },
/// A layout box containing a bullet. /// A layout box containing a bullet.
@ -649,7 +649,7 @@ pub enum LayoutContent<'gc> {
params: EvalParameters, params: EvalParameters,
/// The color to render the font with. /// The color to render the font with.
color: Collec<swf::Color>, color: CollectWrapper<swf::Color>,
}, },
/// A layout box containing a drawing. /// A layout box containing a drawing.
@ -682,7 +682,7 @@ impl<'gc> LayoutBox<'gc> {
text_format: span.get_text_format(), text_format: span.get_text_format(),
font, font,
params, params,
color: Collec(span.color.clone()), color: CollectWrapper(span.color.clone()),
}, },
}, },
) )
@ -705,7 +705,7 @@ impl<'gc> LayoutBox<'gc> {
text_format: span.get_text_format(), text_format: span.get_text_format(),
font, font,
params, params,
color: Collec(span.color.clone()), color: CollectWrapper(span.color.clone()),
}, },
}, },
) )