pub struct SlideText {
pub source_slide: i32,
pub source_option: i32,
pub preserve_notes_format: bool,
pub name_to_match: String,
pub element_text_transform: i32,
}Fields§
§source_slide: i32§source_option: i32§preserve_notes_format: bool§name_to_match: String§element_text_transform: i32Implementations§
Source§impl SlideText
impl SlideText
Sourcepub fn source_slide(&self) -> SlideSourceType
pub fn source_slide(&self) -> SlideSourceType
Returns the enum value of source_slide, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source_slide(&mut self, value: SlideSourceType)
pub fn set_source_slide(&mut self, value: SlideSourceType)
Sets source_slide to the provided enum value.
Sourcepub fn source_option(&self) -> TextSourceOption
pub fn source_option(&self) -> TextSourceOption
Returns the enum value of source_option, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source_option(&mut self, value: TextSourceOption)
pub fn set_source_option(&mut self, value: TextSourceOption)
Sets source_option to the provided enum value.
Sourcepub fn element_text_transform(&self) -> TextTransformOption
pub fn element_text_transform(&self) -> TextTransformOption
Returns the enum value of element_text_transform, or the default if the field is set to an invalid enum value.
Sourcepub fn set_element_text_transform(&mut self, value: TextTransformOption)
pub fn set_element_text_transform(&mut self, value: TextTransformOption)
Sets element_text_transform to the provided enum value.
Trait Implementations§
Source§impl Message for SlideText
impl Message for SlideText
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for SlideText
Auto Trait Implementations§
impl Freeze for SlideText
impl RefUnwindSafe for SlideText
impl Send for SlideText
impl Sync for SlideText
impl Unpin for SlideText
impl UnwindSafe for SlideText
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