pub struct LayersChangeNotificationBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the LayersChangeNotification type.
Can be created using the LayersChangeNotification::builder method.
Implementations§
source§impl LayersChangeNotificationBuilder<()>
impl LayersChangeNotificationBuilder<()>
sourcepub fn layers<T0>(self, value: T0) -> LayersChangeNotificationBuilder<(T0,)>
pub fn layers<T0>(self, value: T0) -> LayersChangeNotificationBuilder<(T0,)>
Setter for the layers
field.
sourcepub fn layers_as_null(self) -> LayersChangeNotificationBuilder<((),)>
pub fn layers_as_null(self) -> LayersChangeNotificationBuilder<((),)>
Sets the layers
field to null.
source§impl<T0> LayersChangeNotificationBuilder<(T0,)>
impl<T0> LayersChangeNotificationBuilder<(T0,)>
sourcepub fn finish(self, builder: &mut Builder) -> Offset<LayersChangeNotification>where
Self: WriteAsOffset<LayersChangeNotification>,
pub fn finish(self, builder: &mut Builder) -> Offset<LayersChangeNotification>where
Self: WriteAsOffset<LayersChangeNotification>,
Finish writing the builder to get an Offset to a serialized LayersChangeNotification.
Trait Implementations§
source§impl<State: Debug> Debug for LayersChangeNotificationBuilder<State>
impl<State: Debug> Debug for LayersChangeNotificationBuilder<State>
impl<T0: WriteAsOptional<Offset<ConsumerLayers>>> WriteAs<Offset<LayersChangeNotification>> for LayersChangeNotificationBuilder<(T0,)>
impl<T0: WriteAsOptional<Offset<ConsumerLayers>>> WriteAsOffset<LayersChangeNotification> for LayersChangeNotificationBuilder<(T0,)>
impl<T0: WriteAsOptional<Offset<ConsumerLayers>>> WriteAsOptional<Offset<LayersChangeNotification>> for LayersChangeNotificationBuilder<(T0,)>
Auto Trait Implementations§
impl<State> RefUnwindSafe for LayersChangeNotificationBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for LayersChangeNotificationBuilder<State>where
State: Send,
impl<State> Sync for LayersChangeNotificationBuilder<State>where
State: Sync,
impl<State> Unpin for LayersChangeNotificationBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for LayersChangeNotificationBuilder<State>where
State: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more