pub enum AlignFunction {
Builtin(TimeType),
UserDefined(Box<dyn AlignFunctionTrait>),
}Expand description
A align function wrapper
Variants§
Builtin(TimeType)
A builtin function
UserDefined(Box<dyn AlignFunctionTrait>)
A use defined function
Trait Implementations§
Source§impl Clone for AlignFunction
impl Clone for AlignFunction
Source§impl Debug for AlignFunction
impl Debug for AlignFunction
Source§impl<'de> Deserialize<'de> for AlignFunction
impl<'de> Deserialize<'de> for AlignFunction
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 Display for AlignFunction
impl Display for AlignFunction
Source§impl From<TimeType> for AlignFunction
impl From<TimeType> for AlignFunction
Source§impl FunctionTrait for AlignFunction
impl FunctionTrait for AlignFunction
Auto Trait Implementations§
impl Freeze for AlignFunction
impl !RefUnwindSafe for AlignFunction
impl Send for AlignFunction
impl Sync for AlignFunction
impl Unpin for AlignFunction
impl UnsafeUnpin for AlignFunction
impl !UnwindSafe for AlignFunction
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