#[repr(C)]pub struct CTParagraphStyleSetting {
pub spec: CTParagraphStyleSpecifier,
pub valueSize: usize,
pub value: NonNull<c_void>,
}Available on crate feature
CTParagraphStyle only.Expand description
This structure is used to alter the paragraph style.
Field: spec The specifier of the setting.
Field: valueSize The size of the value pointed to by the “value” field. This must match the size of the value required by the CTParagraphStyleSpecifier set in the “spec” field.
Field: value A reference to the value of the setting specified by the “spec” field. The value must be in the proper range for the spec value. The value must also be at least valueSize.
See also Apple’s documentation
Fields§
§spec: CTParagraphStyleSpecifier§valueSize: usize§value: NonNull<c_void>Trait Implementations§
Source§impl Clone for CTParagraphStyleSetting
impl Clone for CTParagraphStyleSetting
Source§fn clone(&self) -> CTParagraphStyleSetting
fn clone(&self) -> CTParagraphStyleSetting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CTParagraphStyleSetting
impl Debug for CTParagraphStyleSetting
Source§impl Encode for CTParagraphStyleSetting
Available on crate feature objc2 only.
impl Encode for CTParagraphStyleSetting
Available on crate feature
objc2 only.Source§impl PartialEq for CTParagraphStyleSetting
impl PartialEq for CTParagraphStyleSetting
Source§impl RefEncode for CTParagraphStyleSetting
Available on crate feature objc2 only.
impl RefEncode for CTParagraphStyleSetting
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CTParagraphStyleSetting
impl StructuralPartialEq for CTParagraphStyleSetting
Auto Trait Implementations§
impl Freeze for CTParagraphStyleSetting
impl RefUnwindSafe for CTParagraphStyleSetting
impl !Send for CTParagraphStyleSetting
impl !Sync for CTParagraphStyleSetting
impl Unpin for CTParagraphStyleSetting
impl UnwindSafe for CTParagraphStyleSetting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.