Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Orientation = Orientation' {}
- newOrientation :: Orientation
- orientation_degrees :: Lens' Orientation (Maybe Double)
Documentation
data Orientation Source #
Worker orientation measured in units clockwise from north.
See: newOrientation
smart constructor.
Instances
newOrientation :: Orientation Source #
Create a value of Orientation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:degrees:Orientation'
, orientation_degrees
- Degrees, limited on [0, 360)
orientation_degrees :: Lens' Orientation (Maybe Double) Source #
Degrees, limited on [0, 360)