class DisplayMode
Defined at line 15 of file ../../src/ui/scenic/lib/types/display_mode.h
Public Methods
void DisplayMode (const DisplayMode & )
Defined at line 43 of file ../../src/ui/scenic/lib/types/display_mode.h
void DisplayMode (DisplayMode && )
Defined at line 44 of file ../../src/ui/scenic/lib/types/display_mode.h
DisplayMode & operator= (const DisplayMode & )
Defined at line 45 of file ../../src/ui/scenic/lib/types/display_mode.h
DisplayMode & operator= (DisplayMode && )
Defined at line 46 of file ../../src/ui/scenic/lib/types/display_mode.h
void ~DisplayMode ()
Defined at line 47 of file ../../src/ui/scenic/lib/types/display_mode.h
const Extent2 & active_area ()
Defined at line 54 of file ../../src/ui/scenic/lib/types/display_mode.h
const uint32_t & refresh_rate_millihertz ()
Defined at line 55 of file ../../src/ui/scenic/lib/types/display_mode.h
const uint32_t & mode_flags ()
Defined at line 56 of file ../../src/ui/scenic/lib/types/display_mode.h
bool IsValid (const ConstructorArgs & args, bool should_assert)
Returns true iff the args can be used to construct a valid DisplayMode.
If `should_assert` is true, invalid args will trigger a FX_DCHECK.
Validity constraints:
- `active_area` extent must not be empty.
Defined at line 72 of file ../../src/ui/scenic/lib/types/display_mode.h
bool IsValid (const fuchsia_hardware_display_types::wire::Mode & fidl, bool should_assert)
static
Defined at line 91 of file ../../src/ui/scenic/lib/types/display_mode.h
DisplayMode From (const fuchsia_hardware_display_types::wire::Mode & fidl_mode)
Constructor. All arguments must be valid; use `IsValid()` to validate if you're not sure.
Defined at line 104 of file ../../src/ui/scenic/lib/types/display_mode.h
void DisplayMode (const ConstructorArgs & args)
Constructor that enables the designated initializer syntax.
NOLINTNEXTLINE(google-explicit-constructor)
Defined at line 114 of file ../../src/ui/scenic/lib/types/display_mode.h
void DisplayMode ()
Empty mode. Allows usage as key in std C++ containers.
Defined at line 121 of file ../../src/ui/scenic/lib/types/display_mode.h
fuchsia_hardware_display_types::wire::Mode ToWire ()
Defined at line 132 of file ../../src/ui/scenic/lib/types/display_mode.h
Friends
bool DisplayMode (const DisplayMode & lhs, const DisplayMode & rhs)
bool DisplayMode (const DisplayMode & lhsconst DisplayMode & rhs)