Struct style::values::generics::basic_shape::Circle [] [src]

pub struct Circle<H, V, LengthOrPercentage> {
    pub position: Position<H, V>,
    pub radius: ShapeRadius<LengthOrPercentage>,
}

https://drafts.csswg.org/css-shapes/#funcdef-circle

Fields

Trait Implementations

impl<H, V, LengthOrPercentage> Animate for Circle<H, V, LengthOrPercentage> where
    Position<H, V>: Animate,
    ShapeRadius<LengthOrPercentage>: Animate
[src]

[src]

Animate a value towards another one, given an animation procedure.

impl<H: Clone, V: Clone, LengthOrPercentage: Clone> Clone for Circle<H, V, LengthOrPercentage>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<H, V, LengthOrPercentage> ComputeSquaredDistance for Circle<H, V, LengthOrPercentage> where
    Position<H, V>: ComputeSquaredDistance,
    ShapeRadius<LengthOrPercentage>: ComputeSquaredDistance
[src]

[src]

Computes the squared distance between two animatable values.

impl<H: Copy, V: Copy, LengthOrPercentage: Copy> Copy for Circle<H, V, LengthOrPercentage>
[src]

impl<H: Debug, V: Debug, LengthOrPercentage: Debug> Debug for Circle<H, V, LengthOrPercentage>
[src]

[src]

Formats the value using the given formatter. Read more

impl<H, V, LengthOrPercentage> MallocSizeOf for Circle<H, V, LengthOrPercentage> where
    H: MallocSizeOf,
    V: MallocSizeOf,
    LengthOrPercentage: MallocSizeOf
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl<H: PartialEq, V: PartialEq, LengthOrPercentage: PartialEq> PartialEq for Circle<H, V, LengthOrPercentage>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<H, V, LengthOrPercentage> ToComputedValue for Circle<H, V, LengthOrPercentage> where
    Position<H, V>: ToComputedValue<ComputedValue = Position<<H as ToComputedValue>::ComputedValue, <V as ToComputedValue>::ComputedValue>>,
    H: ToComputedValue,
    V: ToComputedValue,
    ShapeRadius<LengthOrPercentage>: ToComputedValue<ComputedValue = ShapeRadius<<LengthOrPercentage as ToComputedValue>::ComputedValue>>,
    LengthOrPercentage: ToComputedValue
[src]

The computed value type we're going to be converted to.

[src]

Convert a specified value to a computed value, using itself and the data inside the Context. Read more

[src]

Convert a computed value to specified value form. Read more