class Favicon

Defined at line 6235 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

Used to represent a favicon for a page. An empty table (all fields are unset) is used to indicate

that the page doesn't have a favicon.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

Favicon & set_data (::fuchsia::mem::Buffer _value)
Favicon & set_width (uint32_t _value)
Favicon & set_height (uint32_t _value)
void Favicon ()
void Favicon (Favicon && other)
void ~Favicon ()
Favicon & operator= (Favicon && other)
::std::unique_ptr<Favicon> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Favicon * _value, size_t _offset)
zx_status_t Clone (Favicon * _result)
const ::fuchsia::mem::Buffer & data ()

The image content encoded as an RGBA bitmap with premultiplied alpha channel. The data is

densely packed, so the stride is always `4 * width` and the total size is

`4 * width * height`.

Defined at line 6244 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_data ()

Defined at line 6248 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::fuchsia::mem::Buffer * mutable_data ()

The image content encoded as an RGBA bitmap with premultiplied alpha channel. The data is

densely packed, so the stride is always `4 * width` and the total size is

`4 * width * height`.

Defined at line 6255 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_data ()

Defined at line 6263 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const uint32_t & width ()

The width of the image.

Defined at line 6272 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_width ()

Defined at line 6276 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

uint32_t * mutable_width ()

The width of the image.

Defined at line 6281 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_width ()

Defined at line 6289 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const uint32_t & height ()

The height of the image.

Defined at line 6298 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_height ()

Defined at line 6302 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

uint32_t * mutable_height ()

The height of the image.

Defined at line 6307 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_height ()

Defined at line 6315 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h