Trait shades::Swizzlable [−][src]
Interface to implement to swizzle an expression.
If you plan to use your implementor with the sw!
macro, S
must be one of the following types:
SwizzleSelector
: to implementsw!(.x)
.- [
SwizzleSelector
; 2]: to implementsw!(.xx)
. - [
SwizzleSelector
; 3]: to implementsw!(.xxx)
. - [
SwizzleSelector
; 4]: to implementsw!(.xxxx)
.