pub struct InterpolateAttribute {
pub ty: InterpolationType,
pub sampling: Option<InterpolationSampling>,
}Fields§
§ty: InterpolationType§sampling: Option<InterpolationSampling>Trait Implementations§
Source§impl Clone for InterpolateAttribute
impl Clone for InterpolateAttribute
Source§fn clone(&self) -> InterpolateAttribute
fn clone(&self) -> InterpolateAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterpolateAttribute
impl Debug for InterpolateAttribute
Source§impl<'de> Deserialize<'de> for InterpolateAttribute
impl<'de> Deserialize<'de> for InterpolateAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InterpolateAttribute> for Attribute
impl From<InterpolateAttribute> for Attribute
Source§fn from(value: InterpolateAttribute) -> Self
fn from(value: InterpolateAttribute) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InterpolateAttribute
impl PartialEq for InterpolateAttribute
Source§impl Serialize for InterpolateAttribute
impl Serialize for InterpolateAttribute
Source§impl TokRepr for InterpolateAttribute
impl TokRepr for InterpolateAttribute
fn tok_repr(&self) -> TokenStream
impl StructuralPartialEq for InterpolateAttribute
Auto Trait Implementations§
impl Freeze for InterpolateAttribute
impl RefUnwindSafe for InterpolateAttribute
impl Send for InterpolateAttribute
impl Sync for InterpolateAttribute
impl Unpin for InterpolateAttribute
impl UnwindSafe for InterpolateAttribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more