Visibility.isSubsetOf

Checks if parent defines different access restrictions than this one.

struct Visibility
extern (D) extern (C++) const
bool
isSubsetOf
(
ref const Visibility parent
)

Parameters

parent Visibility

visibility attribute for scope that hosts this one

Return Value

Type: bool

'true' if parent is already more restrictive than this one and thus no differentiation is needed.

Meta