Double dispatch methods to support vctrs::vec_cast().
vctrs::vec_cast()
## S3 method for class 'hms' vec_cast(x, to, ...)
x
Vectors to cast.
to
Type to cast to. If NULL, x will be returned as is.
NULL
...
For vec_cast_common(), vectors to cast. For vec_cast() and vec_restore(), these dots are only for future extensions and should be empty.
vec_cast_common()
vec_cast()
vec_restore()